o allocate 1 elements of FolderItem not 0
o free memory used by dummy folder
+2002-09-12 [christoph] 0.8.2claws44
+
+ * src/filter.c
+ o allocate 1 elements of FolderItem not 0
+ o free memory used by dummy folder
+
2002-09-12 [colin] 0.8.2claws43
* src/compose.c
2002-09-12 [colin] 0.8.2claws43
* src/compose.c
MICRO_VERSION=2
INTERFACE_AGE=0
BINARY_AGE=0
MICRO_VERSION=2
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 (filter_match_condition(filter, hlist)) {
if (filter->action == FLT_NOTRECV) {
if (!dummy) {
if (filter_match_condition(filter, hlist)) {
if (filter->action == FLT_NOTRECV) {
if (!dummy) {
- dummy = g_new0(FolderItem, 0);
+ dummy = g_new0(FolderItem, 1);
dummy->path = g_strdup(FILTER_NOT_RECEIVE);
}
dest_folder = dummy;
dummy->path = g_strdup(FILTER_NOT_RECEIVE);
}
dest_folder = dummy;
+ if (dummy != NULL) {
+ g_free(dummy->path);
+ g_free(dummy);
+ }
+
procheader_header_list_destroy(hlist);
return dest_folder;
procheader_header_list_destroy(hlist);
return dest_folder;