From 4ad9731a41bc40873fc68a278d2b708d23003638 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Sun, 27 Jun 2004 02:10:18 +0000 Subject: [PATCH] Se taponan un par de memory leaks. --- src/jacu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jacu.c b/src/jacu.c index 4d61688..18c4424 100644 --- a/src/jacu.c +++ b/src/jacu.c @@ -201,6 +201,8 @@ int comprimir(char *src, char *dst, Uint32 pagesize, Uint32 volumesize, t_Flags /* Limpiando */ if (fclose(fp)) fprintf(stderr, "Error al cerrar archivo de entrada!\n"); bs_destroy(bs); + free(data); + free(salida); /* Comprimo con Huffman */ shuff_encode_file(shuff); -- 2.43.0