VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Cmdline.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-07-09 03:35:56 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 22:20:43 (GMT)
commit899a22b840316d54a9563726e78f7a201a6702ef (patch)
tree9a3fe9f081b3b9554c29bc6b3cd6f3ae50def710 /src/Common/Cmdline.c
parent5281e2d3b9adea8dff1730d78fe94af85582aea8 (diff)
downloadVeraCrypt-899a22b840316d54a9563726e78f7a201a6702ef.zip
VeraCrypt-899a22b840316d54a9563726e78f7a201a6702ef.tar.gz
Static Code Analysis : fix various memory leaks.
Diffstat (limited to 'src/Common/Cmdline.c')
-rw-r--r--src/Common/Cmdline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Common/Cmdline.c b/src/Common/Cmdline.c
index cf3903d..35507c2 100644
--- a/src/Common/Cmdline.c
+++ b/src/Common/Cmdline.c
@@ -55,6 +55,8 @@ BOOL CALLBACK CommandHelpDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM
}
SetWindowText (GetDlgItem (hwndDlg, IDC_COMMANDHELP_TEXT), (char*) tmp);
+
+ TCfree(tmp);
return 1;
}