Archived
1
0
Fork 0

event.c: fix memory leak in notify_event_del.

This commit is contained in:
Henrik Hautakoski 2010-11-22 18:54:18 +01:00
parent 18e9de6bc2
commit ed8891000f

View file

@ -48,7 +48,7 @@ notify_event* notify_event_new() {
*/
void notify_event_del(notify_event *event) {
if (event)
if (event == NULL)
return;
dealloc_data(event);