Fix memory leak.

svn path=/trunk/; revision=37841
This commit is contained in:
Jakub Zawadzki 2011-06-30 08:54:24 +00:00
parent 185305aea6
commit 9fb3af3bf1
1 changed files with 1 additions and 0 deletions

View File

@ -421,6 +421,7 @@ export_object_window(const gchar *tapname, const gchar *name, tap_packet_cb tap_
simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK,
"Can't register %s tap: %s\n", name, error_msg->str);
g_string_free(error_msg, TRUE);
g_free(object_list);
return;
}