From: Wilfried Göesgens Date: Sat, 30 Aug 2008 14:21:56 +0000 (+0000) Subject: * add hint for future debugging season, so we remember that if it crashes while freei... X-Git-Tag: v7.86~1987 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=63b5f13ba63c4fd74159a024bac0162f2c4f2cca * add hint for future debugging season, so we remember that if it crashes while freeing a member we need to look at... --- diff --git a/libcitadel/lib/hash.c b/libcitadel/lib/hash.c index 20e0f1222..9ab2aa6e3 100644 --- a/libcitadel/lib/hash.c +++ b/libcitadel/lib/hash.c @@ -183,6 +183,7 @@ int GetCount(HashList *Hash) /** * \brief private destructor for one hash element. + * Crashing? go one frame up and do 'print *FreeMe->LookupTable[i]' * \param Data an element to free using the user provided destructor, or just plain free */ static void DeleteHashPayload (Payload *Data) @@ -196,6 +197,7 @@ static void DeleteHashPayload (Payload *Data) /** * \brief destroy a hashlist and all of its members + * Crashing? do 'print *FreeMe->LookupTable[i]' * \param Hash Hash to destroy. Is NULL'ed so you are shure its done. */ void DeleteHash(HashList **Hash)