1 | /* |
1 | /* |
2 | generate_common.c - Part of psiconv, a PSION 5 file formats converter |
2 | generate_common.c - Part of psiconv, a PSION 5 file formats converter |
3 | Copyright (c) 2000 Frodo Looijaard <frodol@dds.nl> |
3 | Copyright (c) 2000-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. |
… | |
… | |
523 | |
523 | |
524 | if ((res = psiconv_buffer_resolve(extra_buf))) |
524 | if ((res = psiconv_buffer_resolve(extra_buf))) |
525 | goto ERROR2; |
525 | goto ERROR2; |
526 | if ((res = psiconv_buffer_concat(buf,extra_buf))) |
526 | if ((res = psiconv_buffer_concat(buf,extra_buf))) |
527 | goto ERROR2; |
527 | goto ERROR2; |
|
|
528 | psiconv_buffer_free(extra_buf); |
528 | |
529 | |
529 | return 0; |
530 | return 0; |
530 | |
531 | |
531 | ERROR2: |
532 | ERROR2: |
532 | psiconv_buffer_free(extra_buf); |
533 | psiconv_buffer_free(extra_buf); |