git.openpandora.org
/
pandora-libraries.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22950a9
)
Fix; introduced a core-dump that will occur when SD is not in place.
author
skeezix
<skeezix@flotsam-vm.(none)>
Thu, 17 Dec 2009 19:53:29 +0000
(14:53 -0500)
committer
skeezix
<skeezix@flotsam-vm.(none)>
Thu, 17 Dec 2009 19:53:29 +0000
(14:53 -0500)
apps/pndnotifyd.c
patch
|
blob
|
history
diff --git
a/apps/pndnotifyd.c
b/apps/pndnotifyd.c
index
e52d8e8
..
f41e842
100644
(file)
--- a/
apps/pndnotifyd.c
+++ b/
apps/pndnotifyd.c
@@
-619,7
+619,9
@@
unsigned char perform_discoveries ( char *appspath, char *overridespath,
//WARN: MEMORY LEAK HERE
pnd_log ( pndn_debug, "pndnotifyd - memory leak here - perform_discoveries()\n" );
- pnd_box_delete ( applist ); // does not free the disco_t contents!
+ if ( applist ) {
+ pnd_box_delete ( applist ); // does not free the disco_t contents!
+ }
return ( 1 );
}