mirror of
https://github.com/php-win-ext/phpredis.git
synced 2026-03-26 18:12:19 +01:00
Merge pull request #840 from remicollet/issue-742
use str_efree to fix #742
This commit is contained in:
@@ -1298,7 +1298,7 @@ int redis_set_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
|
||||
CMD_SET_SLOT(slot,key,key_len);
|
||||
|
||||
if(key_free) efree(key);
|
||||
if(val_free) efree(val);
|
||||
if(val_free) str_efree(val);
|
||||
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user