edbus: Test if connection_name could be freed in name_owner_changed_callback_del

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82010
This commit is contained in:
José Roberto de Souza 2013-01-02 20:31:53 +00:00 committed by Lucas De Marchi
parent 42af9b1629
commit 3988f3fe52
1 changed files with 1 additions and 0 deletions

View File

@ -1259,6 +1259,7 @@ edbus_name_owner_changed_callback_del(EDBus_Connection *conn, const char *bus, E
free(data);
}
free(found);
edbus_connection_name_gc(conn, cn);
}
EAPI void