dbnd must free dropped events

This commit is contained in:
Michael Davidsaver
2012-06-29 17:02:22 -04:00
parent a103a2434a
commit 46fb21c880
+4 -2
View File
@@ -93,8 +93,10 @@ static db_field_log* filter(void* pvt, dbChannel *chan, db_field_log *pfl) {
}
}
}
if (drop) return NULL;
else return pfl;
if (drop) {
db_delete_field_log(pfl);
return NULL;
} else return pfl;
}
static void channelRegisterPre(dbChannel *chan, void *pvt,