Rocco Rutte:
authorpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Wed, 7 Sep 2005 20:09:12 +0000 (20:09 +0000)
committerpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Wed, 7 Sep 2005 20:09:12 +0000 (20:09 +0000)
- fix merge typo: pass char** to mem_free, not char* (fixes segfault)

git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@485 e385b8ad-14ed-0310-8656-cc95a2468c6d

VERSION.svn
pattern.c

index f52aaac..629f34c 100644 (file)
@@ -1 +1 @@
-484
+485
index 81bebdd..53cce82 100644 (file)
--- a/pattern.c
+++ b/pattern.c
@@ -684,7 +684,7 @@ void mutt_pattern_free (pattern_t ** pat)
       regfree (tmp->rx);
       mem_free (&tmp->rx);
     }
-    mem_free (tmp->str);
+    mem_free (&tmp->str);
     if (tmp->child)
       mutt_pattern_free (&tmp->child);
     mem_free (&tmp);