From b6ac8ac0f0c3890fb5683328a2d309d62a4fe4a4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 5 Aug 2013 11:23:20 +0000 Subject: memory leak in FB popups git-svn-id: http://svn.miranda-ng.org/main/trunk@5589 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/proto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3