projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0e8702
)
exec plugin: Avoid a warning when freeing meta data.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Mon, 14 Sep 2009 14:01:48 +0000
(16:01 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Mon, 14 Sep 2009 14:02:31 +0000
(16:02 +0200)
src/exec.c
patch
|
blob
|
history
diff --git
a/src/exec.c
b/src/exec.c
index
4405985
..
1f8a9ac
100644
(file)
--- a/
src/exec.c
+++ b/
src/exec.c
@@
-730,7
+730,8
@@
static void *exec_notification_one (void *arg) /* {{{ */
DEBUG ("exec plugin: Child %i exited with status %i.",
pid, status);
- plugin_notification_meta_free (n->meta);
+ if (n->meta != NULL)
+ plugin_notification_meta_free (n->meta);
n->meta = NULL;
sfree (arg);
pthread_exit ((void *) 0);