Huw Davies : ole32: Correctly release an existing pointer when unmarshalling a NULL-ptr.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Oct 27 11:06:37 CDT 2015


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

Author: Huw Davies <huw at codeweavers.com>
Date:   Tue Oct 27 14:42:33 2015 +0000

ole32: Correctly release an existing pointer when unmarshalling a NULL-ptr.

However, this should not be done in the case of pUnkForRelease.

Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ole32/tests/usrmarshal.c | 116 +++++++++++++++++++++++++++++++++++++-----
 dlls/ole32/usrmarshal.c       |   9 +++-
 2 files changed, 111 insertions(+), 14 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=ced5800b99d3251f372102bd23fb25df15debc92



More information about the wine-cvs mailing list