X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b135950383287e57c465f19879238fb7150a2fa..b39fc8d7b1b853cb15f39d51617214b7b90a8872:/src/motif/dcclient.cpp diff --git a/src/motif/dcclient.cpp b/src/motif/dcclient.cpp index f6cdfe5801..1a3ec55e8d 100644 --- a/src/motif/dcclient.cpp +++ b/src/motif/dcclient.cpp @@ -2219,7 +2219,7 @@ install: XPutImage(dest_display, dest, destgc, destimage, 0, 0, destx, desty, w, h); XDestroyImage(destimage); - if (more) + if (more && cache) *cache = image; else XDestroyImage(image);