X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fgfxtools.c;h=929d5bf6e71f6fd42b8de2936f0a81048191d59c;hp=7772273410a62bd8a1010ab22fb15d5d5de92962;hb=062e197a657120e4f82a5758ff2f07f1bd8a2201;hpb=12d21175b5de3c615effa9acf1ffeded9a7bdbf8 diff --git a/lib/gfxtools.c b/lib/gfxtools.c index 7772273..929d5bf 100644 --- a/lib/gfxtools.c +++ b/lib/gfxtools.c @@ -234,7 +234,7 @@ void gfxtool_draw_dashed_line(gfxdrawer_t*d, gfxline_t*line, float*r, float phas return; } if(r[0]<0 || phase<0) { - fprintf(stderr, "gfxtool: invalid (negative) dashes: %f, phase=%f", r[0], phase); + fprintf(stderr, "gfxtool: invalid (negative) dashes: %f, phase=%f\n", r[0], phase); return; } @@ -1178,5 +1178,6 @@ void gfxparams_free(gfxparams_t*params) free(p); p = next; } + free(params); }