Nikolay Sivov : shell32: Use a proper deallocator (Coverity).
Module: wine Branch: master Commit: 3cadbbb4b0016ea7d00b0f44337c5ea8ecd1043b URL: http://source.winehq.org/git/wine.git/?a=commit;h=3cadbbb4b0016ea7d00b0f4433... Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Tue Apr 15 01:53:05 2014 +0400 shell32: Use a proper deallocator (Coverity). --- dlls/shell32/trash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/shell32/trash.c b/dlls/shell32/trash.c index a5d53a1..043ae5b 100644 --- a/dlls/shell32/trash.c +++ b/dlls/shell32/trash.c @@ -562,7 +562,7 @@ static HDPA enum_bucket_trashinfos(const TRASH_BUCKET *bucket, int *count) goto failed; if (DPA_InsertPtr(ret, DPA_APPEND, filename) == -1) { - SHFree(filename); + LocalFree(filename); goto failed; } (*count)++;
participants (1)
-
Alexandre Julliard