--- psiconv/trunk/lib/psiconv/buffer.c 2003/11/18 11:25:10 158 +++ psiconv/trunk/lib/psiconv/buffer.c 2014/10/22 19:53:40 351 @@ -1,6 +1,6 @@ /* buffer.c - Part of psiconv, a PSION 5 file formats converter - Copyright (c) 2000 Frodo Looijaard + Copyright (c) 2000-2014 Frodo Looijaard This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -130,6 +130,7 @@ goto ERROR2; } } + return 0; ERROR2: psiconv_buffer_free(*buf);