TheAlgorithms-C/data_structures/dynamic_array
Enzo Veroneze 1b3a1ca91e
fix: remove double/unintended `free` (#1143)
The call to realloc() already frees the previously allocated memory if necessary.
By the man page of realloc(): "f the area pointed to was moved, a free(ptr) is done.",
and free(): "If free(ptr) has already been called before, undefined behavior occurs.".
2022-11-09 23:19:01 -06:00
..
Makefile dynamic array data structure 2020-04-15 00:16:22 -03:00
dynamic_array.c fix: remove double/unintended `free` (#1143) 2022-11-09 23:19:01 -06:00
dynamic_array.h formatting source-code for b388e4a309 2020-05-29 20:23:24 +00:00
main.c formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00