X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/ecddfc3161e6285cdd95ec7237d1e8e562a594a1..925614222efcf0d79b24563577c712ff14e25312:/emufs_gui/facturas.c diff --git a/emufs_gui/facturas.c b/emufs_gui/facturas.c index fed7556..d3d63f4 100644 --- a/emufs_gui/facturas.c +++ b/emufs_gui/facturas.c @@ -416,7 +416,8 @@ void fact_eliminar(char *s) k.i_clave = fact->reg_nota; lst_facturas->fp_texto->borrar_registro(lst_facturas->fp_texto, k); - free(fact->items); + if (fact->items) free(fact->items); + if (fact->nota) free(fact->nota); free(fact); }