We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fac7a86 commit 0aafa2dCopy full SHA for 0aafa2d
ibm_db2.c
@@ -7374,7 +7374,8 @@ PHP_FUNCTION(db2_get_option)
7374
php_error_docref(NULL, E_WARNING, "Incorrect option string passed in");
7375
RETURN_FALSE;
7376
}
7377
- RETURN_STRINGL(value, val_len);
+ RETVAL_STRINGL(value, val_len);
7378
+ efree(value);
7379
} else {
7380
php_error_docref(NULL, E_WARNING, "Supplied parameter is invalid");
7381
0 commit comments