X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flibgame%2Fmisc.c;h=ae54541fb3639f5da828a511bf4785d2dfbea943;hb=a8613c2d9809cf90870f7c33b6fda80957241827;hp=f9ec87fe5b15cf9c1206f7f6b83bade9c302e0df;hpb=d70849f89266d43bba8dba20d6dc3069d065f440;p=rocksndiamonds.git diff --git a/src/libgame/misc.c b/src/libgame/misc.c index f9ec87fe..ae54541f 100644 --- a/src/libgame/misc.c +++ b/src/libgame/misc.c @@ -1544,7 +1544,7 @@ void deleteNodeFromList(ListNode **node_first, char *key, if (strEqual((*node_first)->key, key)) { - free((*node_first)->key); + checked_free((*node_first)->key); if (destructor_function) destructor_function((*node_first)->content); *node_first = (*node_first)->next;