2013-09-26 17:14:40 +02:00

14 lines
458 B
Plaintext

$NetBSD: patch-af,v 1.1 2004/11/25 13:14:02 adam Exp $
--- src/main.c.orig 2004-11-25 13:43:01.000000000 +0000
+++ src/main.c
@@ -109,7 +109,7 @@ main(int argc, char **argv)
wwarning(_("could not load image file %s:%s"), path, RMessageForError(RErrorCode));
else {
icon = WMCreatePixmapFromRImage(scr, tmp, 0);
- RDestroyImage(tmp);
+ RReleaseImage(tmp);
if (icon) {
WMSetApplicationIconImage(scr, icon);
WMReleasePixmap(icon);