Alexander Scott-Johns : winex11.drv: Remove broken HeapFree call.

Alexandre Julliard julliard at winehq.org
Mon Jan 31 11:26:15 CST 2011


Module: wine
Branch: master
Commit: e81e49787c5f4313f4f34f8986e639cf5d1173e2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e81e49787c5f4313f4f34f8986e639cf5d1173e2

Author: Alexander Scott-Johns <alexander.scott.johns at googlemail.com>
Date:   Fri Jan 28 20:35:33 2011 +0000

winex11.drv: Remove broken HeapFree call.

---

 dlls/winex11.drv/clipboard.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/winex11.drv/clipboard.c b/dlls/winex11.drv/clipboard.c
index c3f1b55..75f94e1 100644
--- a/dlls/winex11.drv/clipboard.c
+++ b/dlls/winex11.drv/clipboard.c
@@ -1546,7 +1546,6 @@ static HANDLE X11DRV_CLIPBOARD_ExportXAString(LPWINE_CLIPDATA lpData, LPDWORD lp
     *lpBytes = j; /* Number of bytes in string */
 
 done:
-    HeapFree(GetProcessHeap(), 0, text);
     GlobalUnlock(lpData->hData);
 
     return lpstr;




More information about the wine-cvs mailing list