git.openpandora.org
/
pandora-libraries.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix even more leaks
[pandora-libraries.git]
/
lib
/
pnd_locate.c
diff --git
a/lib/pnd_locate.c
b/lib/pnd_locate.c
index
6e4afbb
..
1beb76c
100644
(file)
--- a/
lib/pnd_locate.c
+++ b/
lib/pnd_locate.c
@@
-25,6
+25,7
@@
char *pnd_locate_filename ( char *searchpath, char *filename ) {
if ( stat ( buffer, &foo ) == 0 ) {
strcpy ( pnd_locate_buffer, buffer );
+ wordfree( &_p );
return ( pnd_locate_buffer );
}