Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
pikelang
pike
Commits
73003705
Commit
73003705
authored
Jul 21, 2020
by
Stephen R. van den Berg
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stdio.Buffer: Explicitly clear io->this to mark destruction.
parent
7ff945f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/modules/_Stdio/buffer.cmod
src/modules/_Stdio/buffer.cmod
+1
-0
No files found.
src/modules/_Stdio/buffer.cmod
View file @
73003705
...
...
@@ -2854,6 +2854,7 @@ PIKECLASS Buffer
EXIT
{
Buffer
*
io
=
THIS
;
io
->
this
=
0
;
io_unlink_external_storage
(
io
);
if
(
io
->
error_mode
)
free_program
(
io
->
error_mode
);
...
...
Henrik (Grubba) Grubbström
@grubba
mentioned in commit
60217960
·
Aug 02, 2020
mentioned in commit
60217960
mentioned in commit 602179601c7b90ee290d8ef33cdf62bb7d2634d7
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment