Closed matthew-wozniczka closed 2 years ago
I haven't confirmed this, but I was looking through the code, and it looks like https://github.com/openlink/iODBC/blob/79c7f572a7b5c4123ec3cc1dd29df1af61a3405f/iodbc/herr.c#L154 will leak memory, as it overwrites perr->msg without freeing the previous value.
Interesting. We'll have a look.
I haven't confirmed this, but I was looking through the code, and it looks like https://github.com/openlink/iODBC/blob/79c7f572a7b5c4123ec3cc1dd29df1af61a3405f/iodbc/herr.c#L154 will leak memory, as it overwrites perr->msg without freeing the previous value.