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_conf.c
diff --git
a/lib/pnd_conf.c
b/lib/pnd_conf.c
index
88d0c46
..
824fbb3
100644
(file)
--- a/
lib/pnd_conf.c
+++ b/
lib/pnd_conf.c
@@
-79,6
+79,7
@@
pnd_conf_handle pnd_conf_fetch_by_name ( char *filename, char *searchpath ) {
conf = pnd_conf_fetch_by_path ( buffer );
if ( conf ) {
+ wordfree ( &_p );
return ( conf );
}
@@
-233,7
+234,7
@@
pnd_conf_handle pnd_conf_fetch_by_path ( char *fullpath ) {
} // key or key/value?
} // section or key/value line?
-
+
} // while
// clean up a trifle