diff options
| -rw-r--r-- | mg_image_provider.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mg_image_provider.c b/mg_image_provider.c index a10c355..1aeb9a6 100644 --- a/mg_image_provider.c +++ b/mg_image_provider.c @@ -207,7 +207,7 @@ void mgImageProvider::Action() char *tmp; asprintf( &tmp, "image_convert.sh \"%s\" \"%s\"", filename.c_str(), tmpFile.c_str() ); system( (const char*) tmp ); - delete tmp; + free(tmp); // add to the list of converted images Lock(); |
