mohandev2 / openhpi_old

Other
0 stars 0 forks source link

wrap_g_free does not set pointer to NULL. #1915

Closed mohandev2 closed 6 years ago

mohandev2 commented 8 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

mohandev2 commented 8 years ago

Patch to review

Original comment by: mohandev2

mohandev2 commented 8 years ago

Original comment by: mohandev2

mohandev2 commented 8 years ago

Fixed with checkin #7672

Original comment by: mohandev2