Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
34bcf805
Commit
34bcf805
authored
Apr 10, 2006
by
Hisham Muhammad
Browse files
support free(NULL), which is valid ANSI C
parent
86d63135
Changes
1
Hide whitespace changes
Inline
Side-by-side
DebugMemory.c
View file @
34bcf805
...
...
@@ -141,6 +141,8 @@ void DebugMemory_registerAllocation(void* data, char* file, int line) {
}
void
DebugMemory_registerDeallocation
(
void
*
data
,
char
*
file
,
int
line
)
{
if
(
!
data
)
return
;
assert
(
singleton
);
assert
(
singleton
->
first
);
DebugMemoryItem
*
walk
=
singleton
->
first
;
...
...
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