Code

fix a small memleak
authorbuliabyak <buliabyak@users.sourceforge.net>
Sun, 12 Jul 2009 16:39:27 +0000 (16:39 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Sun, 12 Jul 2009 16:39:27 +0000 (16:39 +0000)
src/extension/internal/bitmap/imagemagick.cpp

index ab2834141fb35b543234247b74eac67e13ab1cd7..e907612fdaa093098e27d6f361e7976d7aa7a26e 100644 (file)
@@ -129,6 +129,7 @@ ImageMagickDocCache::readImage(const char *xlink, Magick::Image *image)
                        image->read(path);
                } catch (...) {}
        }
+       g_free(search);
 }
 
 bool