]> git.llucax.com Git - z.facultad/75.06/jacu.git/blobdiff - src/mtf/mtf.c
Fixed leak en MTF
[z.facultad/75.06/jacu.git] / src / mtf / mtf.c
index b59f128e14a181aff0eab819c5f97b255741a1b8..5bf5b39ce0f28cfab8eaafa829be4619508aee2a 100644 (file)
@@ -32,6 +32,7 @@ unsigned char *jacu_mtf(unsigned char *datos, int len, unsigned char **_z, int *
                        pop_front(z, pos[i]);
        }
        (*z_len) = size;
+       free(z);
        return pos;
 }