Merged -r471 from trunk
This commit is contained in:
parent
0e3ee2eef4
commit
c07b5521ab
1 changed files with 5 additions and 1 deletions
|
@ -102,7 +102,11 @@ void WINAPI tdClose(void) {
|
||||||
* It should be called on the returned value from all functions return <tt>char *</tt>
|
* It should be called on the returned value from all functions return <tt>char *</tt>
|
||||||
**/
|
**/
|
||||||
void WINAPI tdReleaseString(char *string) {
|
void WINAPI tdReleaseString(char *string) {
|
||||||
|
#ifdef _WINDOWS
|
||||||
|
SysFreeString((BSTR)string);
|
||||||
|
#else
|
||||||
free(string);
|
free(string);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue