Closed mohandev2 closed 6 years ago
wrap_g_free tries to free the passed variable (a pointer). Need to pass the pointer to pointer so that the passed variable is not changed. Need wrap_free to take care of the variables allocated with malloc, asprintf etc.
Reported by: mohandev2
Original Ticket: openhpi/bugs/1915
Patch to review
Original comment by: mohandev2
Fixed with checkin #7672
wrap_g_free tries to free the passed variable (a pointer). Need to pass the pointer to pointer so that the passed variable is not changed. Need wrap_free to take care of the variables allocated with malloc, asprintf etc.
Reported by: mohandev2
Original Ticket: openhpi/bugs/1915