2
0
Fork 0

use value_list_free() in core_header_free() from plugin_core.c

personal/stbuehler/wip
Thomas Porzelt 2008-10-04 20:00:10 +02:00
parent 2ac5c5c0a5
commit 5933f9b3c5
1 changed files with 1 additions and 4 deletions

View File

@ -579,10 +579,7 @@ static action_result core_handle_header_add(connection *con, gpointer param) {
static void core_header_free(struct server *srv, gpointer param) {
UNUSED(srv);
GArray *l = (GArray*)param;
value_free(g_array_index(l, value*, 0));
value_free(g_array_index(l, value*, 1));
g_array_free(l, TRUE);
value_list_free(param);
}
static action* core_header_add(server *srv, plugin* p, value *val) {