diff --git a/util/wmsetbg.c b/util/wmsetbg.c index 785aa1ba..b363c201 100644 --- a/util/wmsetbg.c +++ b/util/wmsetbg.c @@ -646,7 +646,6 @@ static BackgroundTexture *parseTexture(RContext * rc, char *text) if (!gradient) { wwarning("could not render texture:%s", RMessageForError(RErrorCode)); - RReleaseImage(gradient); RReleaseImage(image); goto error; }