add the missing call to deallocate the image background

---
 wrlib/load_magick.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/wrlib/load_magick.c b/wrlib/load_magick.c
index d9ecb2d..b08e591 100644
--- a/wrlib/load_magick.c
+++ b/wrlib/load_magick.c
@@ -80,6 +80,7 @@ RImage * RLoadMagick(const char *file_name)

 bye:
  /* Tidy up */
+ DestroyPixelWand(bg_wand);
  MagickClearException(m_wand);
  m_wand = DestroyMagickWand(m_wand);
  /* destroy is called when exiting wmaker */
-- 
1.8.3.2

Attachment: 0001-wrlib-added-missing-call-to-deallocate-magick-pixelw.patch
Description: Binary data

Reply via email to