diff options
Diffstat (limited to 'discover/file.c')
-rw-r--r-- | discover/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discover/file.c b/discover/file.c index 0cee43b..4bad012 100644 --- a/discover/file.c +++ b/discover/file.c @@ -103,7 +103,7 @@ int replace_file(const char *filename, char *buf, int len) fd = mkstemp(tempfile); umask(oldmask); if (fd < 0) { - free(tempfile); + talloc_free(tempfile); return fd; } |