]> git.marmaro.de Git - mmh/blobdiff - sbr/folder_realloc.c
simplify whatnow.c/main() function
[mmh] / sbr / folder_realloc.c
index bfdc44f5e36a69d84be7a49af41b53aa3bccc298..64a66409b40dc253fd5e58be44a99c56337039df 100644 (file)
@@ -62,7 +62,7 @@ folder_realloc(struct msgs *mp, int lo, int hi)
                                tmpstats[msgnum - lo] = mp->msgstats[msgnum - mp->lowoff];
                        }
                }
-               free(mp->msgstats);
+               mh_free0(&(mp->msgstats));
                mp->msgstats = tmpstats;
        }