diff options
author | Guillem Jover <guillem@debian.org> | 2016-05-03 19:14:31 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2016-05-03 20:01:08 +0200 |
commit | 4b5023759c9ed35581e3174c6fce09ac8be8589f (patch) | |
tree | 78cf8e76ec9ccfba4cb74a5b2a13bb4b984e03f5 /src | |
parent | c931762286a22626b4f9958d457248a027bfc0f7 (diff) | |
download | dpkg-4b5023759c9ed35581e3174c6fce09ac8be8589f.tar.gz |
dpkg: Use m_strdup() instead of strdup()
Diffstat (limited to 'src')
-rw-r--r-- | src/archives.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/archives.c b/src/archives.c index f66e81861..44753bd27 100644 --- a/src/archives.c +++ b/src/archives.c @@ -1483,7 +1483,7 @@ archivefiles(const char *const *argv) continue; arglist = m_realloc(arglist, sizeof(char *) * (nfiles + 1)); - arglist[nfiles++] = strdup(nodename); + arglist[nfiles++] = m_strdup(nodename); } treewalk_close(tree); |