r82254 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r82253
|
r82254
|
r82255
>
Date:
16:25, 16 February 2011
Author:
platonides
Status:
ok
Tags:
Comment:
Folow up
r82046
. Fix another leak.
If use_copy then line_copy has got a string from the original NULL, and thus needs being freed.
Modified paths:
/trunk/php/wmerrors/wmerrors.c
(modified) (
history
)
Diff
[
purge
]
Index: trunk/php/wmerrors/wmerrors.c
—
—
@@ -207,6 +207,7 @@
208
208
smart_str_appendc(s, ' ');
209
209
210
210
efree(basename);
211
+ zval_dtor(line_copy);
211
212
FREE_ZVAL(line_copy);
212
213
zend_hash_move_forward_ex(Z_ARRVAL_P(trace), &pos);
213
214
}
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r82046
wmerrors: Use a dirty hack to add concise backtraces (formatted as Foo.php:12...
catrope
00:35, 13 February 2011
Status & tagging log
16:26, 16 February 2011
Catrope
(
talk
|
contribs
)
changed the
status
of r82254
[
removed:
new
added:
ok]