X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fparse.c;h=80a918cb89e8e76140acfcf6d952e967fbf675b8;hb=68ff2eb3d2d7874e780000143cbee9a8e7c2e57f;hp=488d34dbee3166dda80b915303180373456a278b;hpb=c8ff993e08e73f030a2efdb4f01c5f65464555e7;p=chaz%2Fopenbox diff --git a/openbox/parse.c b/openbox/parse.c index 488d34db..80a918cb 100644 --- a/openbox/parse.c +++ b/openbox/parse.c @@ -33,7 +33,7 @@ void parse_reg_section(char *section, ParseFunc func) void parse_free_token(ParseToken *token) { - GSList *it; + GList *it; switch (token->type) { case TOKEN_STRING: @@ -47,7 +47,7 @@ void parse_free_token(ParseToken *token) parse_free_token(it->data); g_free(it->data); } - g_slist_free(token->data.list); + g_list_free(token->data.list); break; case TOKEN_REAL: case TOKEN_INTEGER: