From: Tollef Fog Heen Date: Sun, 20 Jan 2008 20:47:22 +0000 (+0100) Subject: More m_malloc X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d8cbd387a8d01a81720f7aadfdb88948665f825;p=dpkg More m_malloc --- diff --git a/src/filters.c b/src/filters.c index ae69dbcf..f1d76442 100644 --- a/src/filters.c +++ b/src/filters.c @@ -146,7 +146,7 @@ int filter_should_skip(struct TarInfo *ti) { for (f = filters; f != NULL; f = f->next) { char *pattern; - pattern = malloc(strlen(ti->Name) + 1); + pattern = m_malloc(strlen(ti->Name) + 1); strcpy(pattern, &ti->Name[1]); strcat(pattern, "*");