summaryrefslogtreecommitdiff
path: root/plugins/TipperYM/src/options.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-01-25 21:47:16 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-01-25 21:47:16 +0000
commit4b9da6b7ea643ac4917440880583d507b697cf9a (patch)
treef012f7047ec115cae16f7454cc4e08e5b92c1adc /plugins/TipperYM/src/options.cpp
parentb6b84ffaf51673a3b9b2851602428ac815b680c4 (diff)
Tipper YM:
-Fixed memory leaks git-svn-id: http://svn.miranda-ng.org/main/trunk@11910 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TipperYM/src/options.cpp')
-rw-r--r--plugins/TipperYM/src/options.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/TipperYM/src/options.cpp b/plugins/TipperYM/src/options.cpp
index 7a5e4d3d30..2fb412bfae 100644
--- a/plugins/TipperYM/src/options.cpp
+++ b/plugins/TipperYM/src/options.cpp
@@ -1006,6 +1006,8 @@ INT_PTR CALLBACK DlgProcOptsContent(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA
SendMessage(hwndDlg, WMU_ENABLE_LIST_BUTTONS, 0, 0);
SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0);
}
+ else
+ mir_free(di_value);
return TRUE;
}
@@ -1137,6 +1139,8 @@ INT_PTR CALLBACK DlgProcOptsContent(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA
SendMessage(hwndDlg, WMU_ENABLE_LIST_BUTTONS, 0, 0);
SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0);
}
+ else
+ mir_free(ds_value);
return TRUE;
}