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
241c2e96
Commit
241c2e96
authored
Feb 06, 2003
by
Michael W. Hudson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove another lie.
parent
847f3754
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
Doc/ext/extending.tex
Doc/ext/extending.tex
+2
-4
No files found.
Doc/ext/extending.tex
View file @
241c2e96
...
@@ -818,10 +818,8 @@ In languages like C or \Cpp, the programmer is responsible for
...
@@ -818,10 +818,8 @@ In languages like C or \Cpp, the programmer is responsible for
dynamic allocation and deallocation of memory on the heap. In C,
dynamic allocation and deallocation of memory on the heap. In C,
this is done using the functions
\cfunction
{
malloc()
}
and
this is done using the functions
\cfunction
{
malloc()
}
and
\cfunction
{
free()
}
. In
\Cpp
, the operators
\keyword
{
new
}
and
\cfunction
{
free()
}
. In
\Cpp
, the operators
\keyword
{
new
}
and
\keyword
{
delete
}
are used with essentially the same meaning; they are
\keyword
{
delete
}
are used with essentially the same meaning and
actually implemented using
\cfunction
{
malloc()
}
and
we'll restrict the following discussion to the latter.
\cfunction
{
free()
}
, so we'll restrict the following discussion to the
latter.
Every block of memory allocated with
\cfunction
{
malloc()
}
should
Every block of memory allocated with
\cfunction
{
malloc()
}
should
eventually be returned to the pool of available memory by exactly one
eventually be returned to the pool of available memory by exactly one
...
...
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