diff --git a/funcs/falsecolors.c b/funcs/falsecolors.c index e20f939..81f9dd9 100644 --- a/funcs/falsecolors.c +++ b/funcs/falsecolors.c @@ -32,7 +32,7 @@ int x, y, offset; float r, g, b, gray, maxv; #if DEBUG_LEVEL -fprintf(stderr, ">>> %s ( %p %p %d %f )\n", __func__, +fprintf(stderr, ">>> %s ( %p %p %d %f )\n", __func__, src, dst, k, valf); #endif diff --git a/funcs/tests.c b/funcs/tests.c index 87b04cf..759fd0e 100644 --- a/funcs/tests.c +++ b/funcs/tests.c @@ -38,6 +38,8 @@ foo = fimg_falsecolors_0(&src, &dst, type, 3.141592654); fprintf(stderr, "false colors 0 --> %d\n", foo); foo = fimg_export_picture(&dst, dstfile, 0); +fimg_destroy(&src); fimg_destroy(&dst); + return -1; } /* --------------------------------------------------------------------- */