* upsi. double free.
authorWilfried Göesgens <willi@citadel.org>
Sat, 2 May 2009 14:40:50 +0000 (14:40 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sat, 2 May 2009 14:40:50 +0000 (14:40 +0000)
webcit/who.c

index f93d9624d93cf67aa5961488512d769b1cc16c31..9f0e3d3d63c76ccef3aaa61a7147aca17978d513 100644 (file)
@@ -104,12 +104,9 @@ int GetWholistSection(HashList *List, time_t now, StrBuf *Buf)
                                    User, DestroyUserStruct);
                }
                SortByPayload(List, CompareUserStruct);
-
-               FreeStrBuf(&Buf);
                return 1;
        }
        else {
-               FreeStrBuf(&Buf);
                return 0;
        }
 }