From: Adam Dickmeiss Date: Thu, 28 Sep 1995 09:52:11 +0000 (+0000) Subject: xfree/xmalloc used everywhere. X-Git-Tag: ZEBRA.1.0~741 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=c6bd2d13d0764bca640513f465b4ce3627081e28;p=idzebra-moved-to-github.git xfree/xmalloc used everywhere. --- diff --git a/rset/rstemp.c b/rset/rstemp.c index 45d49a4..39456ef 100644 --- a/rset/rstemp.c +++ b/rset/rstemp.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: rstemp.c,v $ - * Revision 1.11 1995-09-18 14:17:56 adam + * Revision 1.12 1995-09-28 09:52:11 adam + * xfree/xmalloc used everywhere. + * + * Revision 1.11 1995/09/18 14:17:56 adam * Bug fixes. * * Revision 1.10 1995/09/15 14:45:39 adam @@ -208,7 +211,13 @@ static void r_delete (struct rset_control *ct) if (info->fname) unlink (info->fname); free (info->buf_mem); - free (info->fname); + logf (LOG_DEBUG, "r_delete: set size %ld", (long) info->pos_end); + if (info->fname) + { + logf (LOG_DEBUG, "r_delete: unlink %s", info->fname); + unlink (info->fname); + free (info->fname); + } free (info); }