diff options
author | mutantturkey <mutantturke@gmail.com> | 2012-07-18 10:16:46 -0400 |
---|---|---|
committer | mutantturkey <mutantturke@gmail.com> | 2012-07-18 10:16:46 -0400 |
commit | 6a95fd5b0cf0eb19063b35792b5127c7aca0df77 (patch) | |
tree | aca2ccc93fdf3088393c2fd275059bf1dd442a74 | |
parent | 15159eaf9fb0402963cefeefaa9e0f9bfdca4519 (diff) |
fix nasty leak that was slowing down performance a LOT
-rw-r--r-- | fly-tools/background/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fly-tools/background/main.c b/fly-tools/background/main.c index bca80c2..696f9b9 100644 --- a/fly-tools/background/main.c +++ b/fly-tools/background/main.c @@ -155,8 +155,7 @@ int main(int argc, char **argv ) { } PixelSyncIterator(input_iterator); input_iterator=DestroyPixelIterator(input_iterator); - ClearMagickWand(input_wand); - + input_wand = DestroyMagickWand(input_wand); image++; } |