Title: [102713] trunk/Source/WebKit
- Revision
- 102713
- Author
- [email protected]
- Date
- 2011-12-13 15:39:48 -0800 (Tue, 13 Dec 2011)
Log Message
[Blackberry] Fix a leak in BackingStore class
Don't leak the blit generation condvar and mutex.
https://bugs.webkit.org/show_bug.cgi?id=74444
Patch by Arvid Nilsson <[email protected]> on 2011-12-13
Reviewed by Antonio Gomes.
* blackberry/Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::~BackingStorePrivate):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (102712 => 102713)
--- trunk/Source/WebKit/ChangeLog 2011-12-13 23:38:17 UTC (rev 102712)
+++ trunk/Source/WebKit/ChangeLog 2011-12-13 23:39:48 UTC (rev 102713)
@@ -1,3 +1,16 @@
+2011-12-13 Arvid Nilsson <[email protected]>
+
+ [Blackberry] Fix a leak in BackingStore class
+
+ Don't leak the blit generation condvar and mutex.
+
+ https://bugs.webkit.org/show_bug.cgi?id=74444
+
+ Reviewed by Antonio Gomes.
+
+ * blackberry/Api/BackingStore.cpp:
+ (BlackBerry::WebKit::BackingStorePrivate::~BackingStorePrivate):
+
2011-12-09 Jacky Jiang <[email protected]>
Upstream BlackBerry API backing store files
Modified: trunk/Source/WebKit/blackberry/Api/BackingStore.cpp (102712 => 102713)
--- trunk/Source/WebKit/blackberry/Api/BackingStore.cpp 2011-12-13 23:38:17 UTC (rev 102712)
+++ trunk/Source/WebKit/blackberry/Api/BackingStore.cpp 2011-12-13 23:39:48 UTC (rev 102713)
@@ -217,6 +217,8 @@
delete back;
m_backState = 0;
+ pthread_cond_destroy(&m_blitGenerationCond);
+ pthread_mutex_destroy(&m_blitGenerationLock);
pthread_mutex_destroy(&m_mutex);
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes