X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fgfxtools.c;h=929d5bf6e71f6fd42b8de2936f0a81048191d59c;hb=e47d392189dc87d32caf72cc6479117d512405a4;hp=7772273410a62bd8a1010ab22fb15d5d5de92962;hpb=12d21175b5de3c615effa9acf1ffeded9a7bdbf8;p=swftools.git 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); }