X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/681f9d807b6f486e251e49401abe40c09b7855c1..c11646cc62f361d1bb7e9dd583f1ee9e11116082:/emufs_gui/facturas.c?ds=inline 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; }