Skip to content

Commit

Permalink
We don't want to efree a zend_string
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-grunder committed Jul 6, 2020
1 parent e20b1ce commit 7fed60f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis_session.c
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ PS_OPEN_FUNC(redis)

if ((url->path == NULL && url->host == NULL) || weight <= 0 || timeout <= 0) {
php_url_free(url);
if (persistent_id) efree(persistent_id);
if (persistent_id) zend_string_release(persistent_id);
if (prefix) zend_string_release(prefix);
if (user) zend_string_release(user);
if (pass) zend_string_release(pass);
Expand Down

0 comments on commit 7fed60f

Please sign in to comment.