From: Leandro Lucarella Date: Sun, 27 Jun 2004 02:10:18 +0000 (+0000) Subject: Se taponan un par de memory leaks. X-Git-Tag: svn_import~42 X-Git-Url: https://git.llucax.com/z.facultad/75.06/jacu.git/commitdiff_plain/4ad9731a41bc40873fc68a278d2b708d23003638 Se taponan un par de memory leaks. --- 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);