diff --git a/src/perl.c b/src/perl.c
index efb8bdd6aa3db6f898b8e60b9f9f2ee4b109a14c..f9c993872a4ba5a12f43aa13167b740911efb662 100644 (file)
--- a/src/perl.c
+++ b/src/perl.c
}
if (0 != av2notification_meta (aTHX_ (AV *)SvRV (*tmp), &n->meta)) {
- plugin_notification_meta_free (n);
+ plugin_notification_meta_free (n->meta);
+ n->meta = NULL;
return -1;
}
break;
return -1;
ret = plugin_dispatch_notification (&n);
- plugin_notification_meta_free (&n);
+ plugin_notification_meta_free (n.meta);
return ret;
} /* static int pplugin_dispatch_notification (HV *) */