Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ymelnyk21
sysproj-5
Commits
dd3ad948
Commit
dd3ad948
authored
Oct 24, 2021
by
ymelnyk21
Browse files
forgot gc_init();
parent
b2369c26
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
1 deletion
+1
-1
bf-gc.c
bf-gc.c
+1
-1
bf-gc.o
bf-gc.o
+0
-0
gctest
gctest
+0
-0
No files found.
bf-gc.c
View file @
dd3ad948
...
...
@@ -228,7 +228,7 @@ void gc_init () {
// from the Project-4 one; my `allocated_list_head` may be a slightly
// different name than the one you used. Check the details.
void
*
gc_malloc
(
size_t
size
)
{
gc_init
();
if
(
size
==
0
)
{
//only allocate if requested non-zero size
return
NULL
;
...
...
bf-gc.o
View file @
dd3ad948
No preview for this file type
gctest
View file @
dd3ad948
No preview for this file type
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