Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/commands.c @ 2127:5d6838f40736
change free() to g_free()
author | shizeeg <shizeeque@gmail.com> |
---|---|
date | Thu, 15 May 2014 02:58:13 +0000 |
parents | 300e7bf4416a |
children | adcff2d51ecb |
comparison
equal
deleted
inserted
replaced
2126:36170c97a0b7 | 2127:5d6838f40736 |
---|---|
2952 // We must not free() if the original string was returned | 2952 // We must not free() if the original string was returned |
2953 if (unescaped_topic == arg) | 2953 if (unescaped_topic == arg) |
2954 unescaped_topic = NULL; | 2954 unescaped_topic = NULL; |
2955 | 2955 |
2956 if (unescaped_topic != NULL) { | 2956 if (unescaped_topic != NULL) { |
2957 free(arg); | 2957 g_free(arg); |
2958 arg = unescaped_topic; | 2958 arg = unescaped_topic; |
2959 } | 2959 } |
2960 } | 2960 } |
2961 | 2961 |
2962 // Set the topic | 2962 // Set the topic |