fix a leak found while browsing Martin Kluge's
valgrind log (Claws only)
+2003-05-01 [alfons] 0.8.11claws124
+
+ * src/imap.c
+ fix a leak found while browsing Martin Kluge's
+ valgrind log (Claws only)
+
2003-04-29 [darko] 0.8.11claws123
* src/gtk/gtkstext.h
2003-04-29 [darko] 0.8.11claws123
* src/gtk/gtkstext.h
MICRO_VERSION=11
INTERFACE_AGE=0
BINARY_AGE=0
MICRO_VERSION=11
INTERFACE_AGE=0
BINARY_AGE=0
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target
- if (sscanf(buf, "%d %s", &cmd_num, cmd_status) < 2)
+ if (sscanf(buf, "%d %s", &cmd_num, cmd_status) < 2) {
+ g_free(buf);
- else if (cmd_num == imap_cmd_count &&
+ } else if (cmd_num == imap_cmd_count &&
!strcmp(cmd_status, "OK")) {
if (argbuf)
g_ptr_array_add(argbuf, g_strdup(buf));
!strcmp(cmd_status, "OK")) {
if (argbuf)
g_ptr_array_add(argbuf, g_strdup(buf));