Groups
Groups
Sign in
Groups
Groups
cmpt-295-sfu
Conversations
Labels
About
Send feedback
Help
Leak of Assignment 1 Part 2
94 views
ass1
Skip to first unread message
LARRY
unread,
Sep 23, 2020, 6:10:29 PM
9/23/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cmpt-295-sfu
I push the assignment1 and travis shows pass all tests. However, after I check leak it shows this. Should I solve this or just leave it here?
WechatIMG22.jpeg
Arrvindh Shriraman
unread,
Sep 23, 2020, 6:52:27 PM
9/23/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cmpt-295-sfu
You have to handle all leaks originating from arraylist.c and tree.c .
Arrvindh Shriraman
unread,
Sep 23, 2020, 6:55:40 PM
9/23/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cmpt-295-sfu
Next time; paste the complete relevant log and follow the question template.
katie
unread,
Sep 23, 2020, 6:59:34 PM
9/23/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cmpt-295-sfu
Hi Prof Arrvindh,
Do we have to solve both the indirectly and directly lost bytes? Or just the directly lost bytes?
Thanks,
Katie
Arrvindh Shriraman
unread,
Sep 23, 2020, 7:41:02 PM
9/23/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cmpt-2...@googlegroups.com
direct leak
is a block which has no pointers to it.
An
indirect leak
is a block which is only pointed to by other
leaked
blocks.
You have to resolve all leaks originating with tree.c and array list.c i.e., a result of your code mallocing it.
Reply all
Reply to author
Forward
0 new messages