From: Tollef Fog Heen Date: Sun, 20 Jan 2008 09:02:40 +0000 (+0100) Subject: Use m_malloc, not malloc X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6858af646d65790b48cdad452523889c76aabff;p=dpkg Use m_malloc, not malloc --- diff --git a/lib/myopt.c b/lib/myopt.c index 8a3003ae..064ffeef 100644 --- a/lib/myopt.c +++ b/lib/myopt.c @@ -186,7 +186,7 @@ void loadfilter(char *fn) { while (fgets(linebuf, sizeof(linebuf), file)) { struct filterlist *filter; - filter = malloc(sizeof(struct filterlist)); + filter = m_malloc(sizeof(struct filterlist)); if (!filter) { ohshite(_("Error allocating memory for filter entry")); }