Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0e2f7983
Commit
0e2f7983
authored
May 22, 2002
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced lots of PyMem_DEL() calls with PyObject_DEL().
parent
422cdde6
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
16 additions
and
16 deletions
+16
-16
Mac/Modules/Nav.c
Mac/Modules/Nav.c
+1
-1
Mac/Modules/calldll.c
Mac/Modules/calldll.c
+3
-3
Mac/Modules/ctbmodule.c
Mac/Modules/ctbmodule.c
+1
-1
Mac/Modules/htmlrender/HtmlRendermodule.c
Mac/Modules/htmlrender/HtmlRendermodule.c
+1
-1
Mac/Modules/icgluemodule.c
Mac/Modules/icgluemodule.c
+2
-2
Mac/Modules/macfsmodule.c
Mac/Modules/macfsmodule.c
+4
-4
Mac/Modules/macosmodule.c
Mac/Modules/macosmodule.c
+1
-1
Mac/Modules/macspeechmodule.c
Mac/Modules/macspeechmodule.c
+2
-2
Mac/Modules/scrap/_Scrapmodule.c
Mac/Modules/scrap/_Scrapmodule.c
+1
-1
No files found.
Mac/Modules/Nav.c
View file @
0e2f7983
...
...
@@ -309,7 +309,7 @@ static void
navrr_dealloc
(
navrrobject
*
self
)
{
NavDisposeReply
(
&
self
->
itself
);
Py
Mem
_DEL
(
self
);
Py
Object
_DEL
(
self
);
}
static
PyObject
*
...
...
Mac/Modules/calldll.c
View file @
0e2f7983
...
...
@@ -543,7 +543,7 @@ static void
cdr_dealloc
(
self
)
cdrobject
*
self
;
{
Py
Mem
_DEL
(
self
);
Py
Object
_DEL
(
self
);
}
static
PyObject
*
...
...
@@ -631,7 +631,7 @@ cdc_dealloc(self)
cdcobject
*
self
;
{
Py_XDECREF
(
self
->
routine
);
Py
Mem
_DEL
(
self
);
Py
Object
_DEL
(
self
);
}
...
...
@@ -855,7 +855,7 @@ static void
cdf_dealloc
(
self
)
cdfobject
*
self
;
{
Py
Mem
_DEL
(
self
);
Py
Object
_DEL
(
self
);
}
static
PyObject
*
...
...
Mac/Modules/ctbmodule.c
View file @
0e2f7983
...
...
@@ -186,7 +186,7 @@ ctbcm_dealloc(self)
CMDispose
(
self
->
hdl
);
self
->
hdl
=
NULL
;
}
Py
Mem
_DEL
(
self
);
Py
Object
_DEL
(
self
);
}
static
PyObject
*
...
...
Mac/Modules/htmlrender/HtmlRendermodule.c
View file @
0e2f7983
...
...
@@ -83,7 +83,7 @@ static void HtmlObj_dealloc(self)
HtmlObjectObject
*
self
;
{
/* Cleanup of self->ob_itself goes here */
Py
Mem
_DEL
(
self
);
Py
Object
_DEL
(
self
);
}
static
PyObject
*
HtmlObj_HRDisposeReference
(
_self
,
_args
)
...
...
Mac/Modules/icgluemodule.c
View file @
0e2f7983
...
...
@@ -460,7 +460,7 @@ newiciobject(OSType creator)
return
NULL
;
if
((
err
=
ICStart
(
&
self
->
inst
,
creator
))
!=
0
)
{
(
void
)
PyMac_Error
(
err
);
Py
Mem
_DEL
(
self
);
Py
Object
_DEL
(
self
);
return
NULL
;
}
return
self
;
...
...
@@ -471,7 +471,7 @@ static void
ici_dealloc
(
iciobject
*
self
)
{
(
void
)
ICStop
(
self
->
inst
);
Py
Mem
_DEL
(
self
);
Py
Object
_DEL
(
self
);
}
static
PyObject
*
...
...
Mac/Modules/macfsmodule.c
View file @
0e2f7983
...
...
@@ -227,7 +227,7 @@ mfsa_dealloc(mfsaobject *self)
}
#endif
Py
Mem
_DEL
(
self
);
Py
Object
_DEL
(
self
);
}
statichere
PyTypeObject
Mfsatype
=
{
...
...
@@ -276,7 +276,7 @@ newmfsiobject(void)
static
void
mfsi_dealloc
(
mfsiobject
*
self
)
{
Py
Mem
_DEL
(
self
);
Py
Object
_DEL
(
self
);
}
static
PyObject
*
...
...
@@ -700,7 +700,7 @@ newmfssobject(FSSpec *fss)
static
void
mfss_dealloc
(
mfssobject
*
self
)
{
Py
Mem
_DEL
(
self
);
Py
Object
_DEL
(
self
);
}
static
PyObject
*
...
...
@@ -846,7 +846,7 @@ mfsr_compare(mfsrobject *v, mfsrobject *w)
static
void
mfsr_dealloc
(
mfsrobject
*
self
)
{
Py
Mem
_DEL
(
self
);
Py
Object
_DEL
(
self
);
}
statichere
PyTypeObject
Mfsrtype
=
{
...
...
Mac/Modules/macosmodule.c
View file @
0e2f7983
...
...
@@ -259,7 +259,7 @@ static void
rf_dealloc
(
rfobject
*
self
)
{
do_close
(
self
);
Py
Mem
_DEL
(
self
);
Py
Object
_DEL
(
self
);
}
static
PyObject
*
...
...
Mac/Modules/macspeechmodule.c
View file @
0e2f7983
...
...
@@ -117,7 +117,7 @@ sc_dealloc(self)
scobject
*
self
;
{
DisposeSpeechChannel
(
self
->
chan
);
Py
Mem
_DEL
(
self
);
Py
Object
_DEL
(
self
);
}
static
PyObject
*
...
...
@@ -324,7 +324,7 @@ static void
mv_dealloc
(
self
)
mvobject
*
self
;
{
Py
Mem
_DEL
(
self
);
Py
Object
_DEL
(
self
);
}
static
PyObject
*
...
...
Mac/Modules/scrap/_Scrapmodule.c
View file @
0e2f7983
...
...
@@ -78,7 +78,7 @@ int ScrapObj_Convert(PyObject *v, ScrapRef *p_itself)
static
void
ScrapObj_dealloc
(
ScrapObject
*
self
)
{
/* Cleanup of self->ob_itself goes here */
Py
Mem
_DEL
(
self
);
Py
Object
_DEL
(
self
);
}
static
PyObject
*
ScrapObj_GetScrapFlavorFlags
(
ScrapObject
*
_self
,
PyObject
*
_args
)
...
...
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