Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.io.base
Commits
3d3fee9a
Commit
3d3fee9a
authored
Feb 11, 2015
by
Manuel Günther
Browse files
And another memory leak fixed.
parent
fe3ad497
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/io/base/main.cpp
View file @
3d3fee9a
...
...
@@ -34,6 +34,7 @@ static PyObject* PyBobIo_Extensions(PyObject*) {
for
(
auto
it
=
table
.
begin
();
it
!=
table
.
end
();
++
it
)
{
PyObject
*
pyvalue
=
make_object
(
it
->
second
.
c_str
());
if
(
!
pyvalue
)
return
0
;
auto
p_
=
make_safe
(
pyvalue
);
if
(
PyDict_SetItemString
(
retval
,
it
->
first
.
c_str
(),
pyvalue
)
!=
0
)
{
return
0
;
}
...
...
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