projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71c58f8
)
[w32handle] Zero out the handle specific data in the handle dtor to help debugging...
author
Zoltan Varga
<vargaz@gmail.com>
Tue, 27 Jun 2017 22:05:34 +0000
(18:05 -0400)
committer
GitHub
<noreply@github.com>
Tue, 27 Jun 2017 22:05:34 +0000
(18:05 -0400)
mono/metadata/w32handle.c
patch
|
blob
|
history
diff --git
a/mono/metadata/w32handle.c
b/mono/metadata/w32handle.c
index f6862a9a7dba737452b39cb840286b84d52883c1..fe589e64516d06d816e0aa072296093e164c75c1 100644
(file)
--- a/
mono/metadata/w32handle.c
+++ b/
mono/metadata/w32handle.c
@@
-683,6
+683,8
@@
w32handle_destroy (gpointer handle)
close_func (handle, handle_specific);
}
+ memset (handle_specific, 0, mono_w32handle_ops_typesize (type));
+
g_free (handle_specific);
}