summaryrefslogtreecommitdiff
path: root/src/modules/clist
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2014-12-16 13:11:12 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2014-12-16 13:11:12 +0000
commitea3ab8f3a8ed69436d3350ac15593394fc7e0e56 (patch)
tree57b3c8a186ddea51ad45fb3976a59e0abe90099b /src/modules/clist
parent55b2e3d64ab23960caa25fb2a296d44caf39057e (diff)
Fixed minor leaks
git-svn-id: http://svn.miranda-ng.org/main/trunk@11457 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist')
-rw-r--r--src/modules/clist/genmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/clist/genmenu.cpp b/src/modules/clist/genmenu.cpp
index 93dd2c0b7e..69bd36cb93 100644
--- a/src/modules/clist/genmenu.cpp
+++ b/src/modules/clist/genmenu.cpp
@@ -411,7 +411,7 @@ INT_PTR MO_ProcessCommandByMenuIdent(WPARAM wParam, LPARAM lParam)
if (!bIsGenMenuInited)
return -1;
- PMO_IntMenuItem pimi;
+ PMO_IntMenuItem pimi = NULL;
{
mir_cslock lck(csMenuHook);
for (int i=0; i < g_menus.getCount(); i++)