projects
/
cl-gtk2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68c63e6
)
glib: Fix memory overwrite in translate-to-foreign for variant cstructures
author
Dmitry Kalyanov
<Kalyanov.Dmitry@gmail.com>
Thu, 6 Aug 2009 07:32:44 +0000
(11:32 +0400)
committer
Dmitry Kalyanov
<Kalyanov.Dmitry@gmail.com>
Thu, 6 Aug 2009 07:32:44 +0000
(11:32 +0400)
glib/gobject.boxed.lisp
patch
|
blob
|
history
diff --git
a/glib/gobject.boxed.lisp
b/glib/gobject.boxed.lisp
index
61eacee
..
301e175
100644
(file)
--- a/
glib/gobject.boxed.lisp
+++ b/
glib/gobject.boxed.lisp
@@
-453,7
+453,7
@@
(null-pointer)
(let* ((type (g-boxed-foreign-info foreign-type))
(cstruct-description (decide-native-type type proxy)))
- (with-foreign-object (native-structure (generated-cstruct-name
+ (with-foreign-object (native-structure (generated-cunion-name
(var-structure-name
(g-boxed-variant-cstruct-info-root type))))
(copy-slots-to-native proxy native-structure cstruct-description)