Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
glvnd
libglvnd
Commits
e202ebf2
Commit
e202ebf2
authored
Oct 09, 2017
by
Kyle Brenneman
Committed by
GitHub
Oct 09, 2017
Browse files
Merge pull request #137 from polarina/memleak
Fix memory leak in LoadVendorsFromConfigDir and __eglMappingInit
parents
fe4a3840
e3ab0a24
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/EGL/libeglmapping.c
View file @
e202ebf2
...
...
@@ -259,6 +259,8 @@ void __eglMappingTeardown(EGLBoolean doReset)
/* Tear down all hashtables used in this file */
LKDHASH_TEARDOWN
(
__EGLdisplayInfoHash
,
__eglDisplayInfoHash
,
NULL
,
NULL
,
EGL_FALSE
);
__glvndWinsysDispatchCleanup
();
}
}
...
...
src/EGL/libeglvendor.c
View file @
e202ebf2
...
...
@@ -121,6 +121,7 @@ void LoadVendorsFromConfigDir(const char *dirName)
}
else
{
fprintf
(
stderr
,
"ERROR: Could not allocate vendor library path name
\n
"
);
}
free
(
entries
[
i
]);
}
free
(
entries
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment