mirror of
https://github.com/clearlinux/swupd-server.git
synced 2026-09-05 13:11:27 +00:00
Free allocated variable
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
This commit is contained in:
committed by
Patrick McCarty
parent
77a0bcd9f9
commit
6affbd1ecb
@@ -123,6 +123,7 @@ static void create_fullfile(struct file *file)
|
||||
if (rmdir(rename_tmpdir)) {
|
||||
LOG(NULL, "rmdir failed for %s", rename_tmpdir);
|
||||
}
|
||||
free(rename_tmpdir);
|
||||
|
||||
free(tmp1);
|
||||
free(tmp2);
|
||||
|
||||
Reference in New Issue
Block a user