summaryrefslogtreecommitdiffstats
path: root/discover
diff options
context:
space:
mode:
Diffstat (limited to 'discover')
-rw-r--r--discover/file.c2
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;
}
OpenPOWER on IntegriCloud