* fix leak in mime parser
authorWilfried Göesgens <willi@citadel.org>
Sun, 11 Oct 2009 14:41:21 +0000 (14:41 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sun, 11 Oct 2009 14:41:21 +0000 (14:41 +0000)
webcit/serv_func.c

index ddc94f9af91bc57f29be7da6fb17289590126c4b..4ee90fdb8981c1b3762077b609d1322a697b8d14 100644 (file)
@@ -764,6 +764,7 @@ void CreateMimeStr(void)
                StrBufAppendBuf(EmbeddableMimeStrs, (StrBuf*) vMime, 0);
        }
        printf("------%ld-------------%s------%s------------\n", len, ChrPtr(EmbeddableMimeStrs), ChrPtr((StrBuf*) vMime));
+       DeleteHashPos(&it);
 }
 
 void