Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZEO
Commits
15127f8f
Commit
15127f8f
authored
Feb 04, 1998
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed two leaks in bucket values.
parent
4e3c4025
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
src/ZODB/BTree.c
src/ZODB/BTree.c
+8
-3
No files found.
src/ZODB/BTree.c
View file @
15127f8f
...
...
@@ -11,7 +11,7 @@
static
char
BTree_module_documentation
[]
=
""
"
\n
$Id: BTree.c,v 1.1
2 1997/12/31 17:18:04
jim Exp $"
"
\n
$Id: BTree.c,v 1.1
3 1998/02/04 21:11:26
jim Exp $"
;
#define PERSISTENT
...
...
@@ -664,10 +664,10 @@ _bucket_set(Bucket *self, PyObject *key, PyObject *v)
{
if
(
v
)
{
Py_INCREF
(
v
);
#ifdef INTVAL
self
->
data
[
i
].
value
=
iv
;
#else
Py_INCREF
(
v
);
ASSIGN
(
self
->
data
[
i
].
value
,
v
);
#endif
if
(
PER_CHANGED
(
self
)
<
0
)
goto
err
;
...
...
@@ -1236,6 +1236,8 @@ bucket_getstate(Bucket *self, PyObject *args)
PER_ALLOW_DEACTIVATION
(
self
);
r
=
Py_BuildValue
(
"OO"
,
keys
,
values
);
Py_DECREF
(
keys
);
Py_DECREF
(
values
);
return
r
;
err:
...
...
@@ -1712,7 +1714,7 @@ initBTree()
#endif
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.1
2
$"
;
char
*
rev
=
"$Revision: 1.1
3
$"
;
UNLESS
(
PyExtensionClassCAPI
=
PyCObject_Import
(
"ExtensionClass"
,
"CAPI"
))
return
;
...
...
@@ -1774,6 +1776,9 @@ initBTree()
Revision Log:
$Log: BTree.c,v $
Revision 1.13 1998/02/04 21:11:26 jim
Fixed two leaks in bucket values.
Revision 1.12 1997/12/31 17:18:04 jim
Fixed bugs related to deleting items.
...
...
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