Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
9b953888
Commit
9b953888
authored
Dec 11, 2003
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
missing decref
parent
2833c24d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
trunk/src/ZODB/coptimizations.c
trunk/src/ZODB/coptimizations.c
+4
-2
No files found.
trunk/src/ZODB/coptimizations.c
View file @
9b953888
...
...
@@ -14,7 +14,7 @@
static
char
coptimizations_doc_string
[]
=
"C optimization for new_persistent_id().
\n
"
"
\n
"
"$Id: coptimizations.c,v 1.2
5 2003/12/11 05:16:50
jeremy Exp $
\n
"
;
"$Id: coptimizations.c,v 1.2
6 2003/12/11 16:02:56
jeremy Exp $
\n
"
;
#include "cPersistence.h"
...
...
@@ -196,8 +196,10 @@ persistent_id_call(persistent_id *self, PyObject *args, PyObject *kwargs)
goto
err
;
}
descr
=
PyObject_GetAttr
(
oid
,
__get__
);
if
(
descr
)
if
(
descr
)
{
Py_DECREF
(
descr
);
goto
return_none
;
}
/* Otherwise it's not a descriptor and it's just some
weird value. Maybe we'll get an error later.
*/
...
...
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