X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/681f9d807b6f486e251e49401abe40c09b7855c1..2bbb263b7b66a8b883e1700cdf4552369b17696e:/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; }