Search found 2 matches

by hawk
2011-04-04T05:58:41-07:00
Forum: Bugs
Topic: possible memory leak in MagickReadImage (version 6.6.9-3)
Replies: 1
Views: 4438

Re: possible memory leak in MagickReadImage (version 6.6.9-3

Sorry my apps was linked with imagemagick 6.6.8-5

No more problem with 6.6.9-3
by hawk
2011-04-04T02:48:15-07:00
Forum: Bugs
Topic: possible memory leak in MagickReadImage (version 6.6.9-3)
Replies: 1
Views: 4438

possible memory leak in MagickReadImage (version 6.6.9-3)

Hello,

I have made a simple function to resize a jpeg image :

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <pthread.h>
#include <wand/magick_wand.h>

static pthread_mutex_t mutex_im = PTHREAD_MUTEX_INITIALIZER;

int resizeimage(void)
{
int ret=0;
float ...