X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/673b6744b98968c1a0fd6856b5a9dcd636c06b7c..74c6776ce0ae5ea218cf0363af040bf260b2c72b:/emufs/indice_b.c diff --git a/emufs/indice_b.c b/emufs/indice_b.c index 7597661..dfd4ff3 100644 --- a/emufs/indice_b.c +++ b/emufs/indice_b.c @@ -75,6 +75,7 @@ void emufs_indice_b_crear(INDICE *idx) memcpy(bloque, &header, sizeof(B_NodoHeader)); fwrite(bloque, idx->tam_bloque, 1, fp); + free(bloque); fclose(fp); } @@ -1401,4 +1402,3 @@ int b_borrar_dup_clave(INDICE *idx, INDICE_DATO k_dato, INDICE_DATO dato) } #include "indice_b_asc.c" -