DescriptionRelease memory of semaphores and thread pointers by using 'delete' instead of SmartPointer.
As pointed out in: http://codereview.chromium.org/7754007/
SmartPointer expects an input allocated using new[] and deallocates it using delete[].
So using SmartPointer for deleting T* here is incorrect. Fix it now.
R=vitalyr@chromium.org
Committed: http://code.google.com/p/v8/source/detail?r=9205
Patch Set 1 : #
Total comments: 3
Messages
Total messages: 5 (0 generated)
|