diff options
Diffstat (limited to 'converter/other/pamtosvg/spline.c')
-rw-r--r-- | converter/other/pamtosvg/spline.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/converter/other/pamtosvg/spline.c b/converter/other/pamtosvg/spline.c index 5bdf0c0e..61167ec4 100644 --- a/converter/other/pamtosvg/spline.c +++ b/converter/other/pamtosvg/spline.c @@ -105,11 +105,13 @@ new_spline_list_with_spline (spline_type spline) elements, since they are arrays in automatic storage. And we don't want to free the list if it was empty. */ + + void -free_spline_list (spline_list_type spline_list) -{ - if (SPLINE_LIST_DATA (spline_list) != NULL) - free (SPLINE_LIST_DATA (spline_list)); +free_spline_list(spline_list_type spline_list) { + + if (SPLINE_LIST_DATA(spline_list) != NULL) + free(SPLINE_LIST_DATA(spline_list)); } |