My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 17 attachment: leak.txt (616 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -r 14e849830355 ff-activex-host/ffactivex/scriptable.h
--- a/ff-activex-host/ffactivex/scriptable.h Mon Apr 11 14:33:40 2011 +0300
+++ b/ff-activex-host/ffactivex/scriptable.h Fri Oct 21 14:55:44 2011 -0700
@@ -154,8 +154,6 @@
return -1;
}

- disp->AddRef();
-
disp->GetIDsOfNames(IID_NULL, &oleName, 1, LOCALE_SYSTEM_DEFAULT, &dID);
if (dID != -1) {

@@ -189,8 +187,6 @@
return false;
}

- disp->AddRef();
-
HRESULT hr = disp->Invoke(id, IID_NULL, LOCALE_SYSTEM_DEFAULT, wFlags, pDispParams, pVarResult, NULL, NULL);

return (SUCCEEDED(hr)) ? true : false;
Powered by Google Project Hosting