From 63b5f13ba63c4fd74159a024bac0162f2c4f2cca Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Sat, 30 Aug 2008 14:21:56 +0000 Subject: [PATCH] * add hint for future debugging season, so we remember that if it crashes while freeing a member we need to look at... --- libcitadel/lib/hash.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.30.2