summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-05 11:23:20 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-05 11:23:20 +0000
commitb6ac8ac0f0c3890fb5683328a2d309d62a4fe4a4 (patch)
tree513e7cdea7e887ca144249b7276b191300c85c73 /protocols
parent2396667faa13d8667d4637fc2311e50c41a8c8ad (diff)
memory leak in FB popups
git-svn-id: http://svn.miranda-ng.org/main/trunk@5589 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/FacebookRM/src/proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp
index 71e99a2e88..67aa9ef0b3 100644
--- a/protocols/FacebookRM/src/proto.cpp
+++ b/protocols/FacebookRM/src/proto.cpp
@@ -732,7 +732,7 @@ LRESULT CALLBACK PopupDlgProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa
// After close, free
popup_data *data = (popup_data *)PUGetPluginData(hwnd);
if (data != NULL)
- mir_free(data);
+ delete data;
} return FALSE;
default: