Skip to content

Commit

Permalink
Fix a memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
zsuraski committed May 21, 1999
1 parent d56ae4f commit 9e862c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main/php_ini.c
Expand Up @@ -176,6 +176,7 @@ PHPAPI int php_restore_ini_entry(char *name, uint name_length)
}

if (ini_entry->orig_value) {
STR_FREE(ini_entry->value);
ini_entry->value = ini_entry->orig_value;
ini_entry->value_length = ini_entry->orig_value_length;
}
Expand Down

0 comments on commit 9e862c1

Please sign in to comment.