shuff_deinit_encoder(shuff);
/* Free mem allocated by main */
- free(shuff);
- free(chunk);
+ free(shuff);
/* Close files opened by main */
fclose(fp);
/* Deinit decoder */
shuff_deinit_decoder(shuff);
- free(shuff);
+ free(shuff);
}
-
+
+ /* Free mem */
+ free(chunk);
return 0;
}