cf93eede6bbe790c8eda220fd2ac65a68941d687
1) Better naming. 2) Use MIN macro for choosing the size to copy over from the old buffer to the new one. Also fix issue where we free the old region of memory before copying it over to the new buffer.
Description
Languages
C
100%