summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ac51a39)
raw | patch | inline | side by side (parent: ac51a39)
author | Sebastian Harl <sh@tokkee.org> | |
Mon, 16 Feb 2009 10:53:02 +0000 (11:53 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Mon, 16 Feb 2009 14:22:04 +0000 (15:22 +0100) |
Free the notification meta information that have possibly been allocated in
notification2hv().
notification2hv().
src/perl.c | patch | blob | history |
diff --git a/src/perl.c b/src/perl.c
index d7087d1f9bcc3e008218fbfa612265f3606d2d21..efb8bdd6aa3db6f898b8e60b9f9f2ee4b109a14c 100644 (file)
--- a/src/perl.c
+++ b/src/perl.c
{
notification_t n;
+ int ret;
+
if (NULL == notif)
return -1;
if (0 != hv2notification (aTHX_ notif, &n))
return -1;
- return plugin_dispatch_notification (&n);
+ ret = plugin_dispatch_notification (&n);
+ plugin_notification_meta_free (&n);
+ return ret;
} /* static int pplugin_dispatch_notification (HV *) */
/*