}
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 *) */