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
cb49ab0e
Commit
cb49ab0e
authored
Dec 11, 2003
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
missing decref
parent
b87627a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/ZODB/coptimizations.c
src/ZODB/coptimizations.c
+4
-2
No files found.
src/ZODB/coptimizations.c
View file @
cb49ab0e
...
...
@@ -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