X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/3283f75e5ca5fe1193054dfacd5f3a131f17b74d..5720b3f8df66478279f271065447e93848437fb7:/emufs_gui/facturas.c?ds=sidebyside diff --git a/emufs_gui/facturas.c b/emufs_gui/facturas.c index 3d44564..f940890 100644 --- a/emufs_gui/facturas.c +++ b/emufs_gui/facturas.c @@ -144,6 +144,8 @@ t_LstFacturas *fact_cargar(const char *filename, int tipo, int tam_bloque) if (filename != NULL) { document = xmlReadFile(filename, "ISO-8859-1",0); if (document == NULL) { + free(tmp); + lst_facturas = NULL; return NULL; }