Commit Graph

4 Commits

Author SHA1 Message Date
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
github-actions
6f98288110 formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
github-actions
0779a2b70d formatting source-code for b388e4a309 2020-05-29 20:23:24 +00:00
Wesllhey Holanda
c3e10d552a dynamic array data structure 2020-04-15 00:16:22 -03:00