1 | /* |
1 | /* |
2 | data.c - Part of psiconv, a PSION 5 file formats converter |
2 | data.c - Part of psiconv, a PSION 5 file formats converter |
3 | Copyright (c) 1999, 2000 Frodo Looijaard <frodol@dds.nl> |
3 | Copyright (c) 1999-2004 Frodo Looijaard <frodol@dds.nl> |
4 | |
4 | |
5 | This program is free software; you can redistribute it and/or modify |
5 | This program is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published by |
6 | it under the terms of the GNU General Public License as published by |
7 | the Free Software Foundation; either version 2 of the License, or |
7 | the Free Software Foundation; either version 2 of the License, or |
8 | (at your option) any later version. |
8 | (at your option) any later version. |
… | |
… | |
893 | } |
893 | } |
894 | |
894 | |
895 | void psiconv_free_clipart_section_aux(void *section) |
895 | void psiconv_free_clipart_section_aux(void *section) |
896 | { |
896 | { |
897 | if (section) |
897 | if (section) |
898 | free(((psiconv_clipart_section ) section)->picture); |
898 | psiconv_free_paint_data_section(((psiconv_clipart_section) section)->picture); |
899 | } |
899 | } |
900 | |
900 | |
901 | void psiconv_free_clipart_section(psiconv_clipart_section section) |
901 | void psiconv_free_clipart_section(psiconv_clipart_section section) |
902 | { |
902 | { |
903 | if (section) { |
903 | if (section) { |