malloc caused a leak?
Name:
Anonymous
2012-02-03 23:10
block *res = malloc(sizeof(*res));
new pointer, nothing's being overwritten and this leaks 12 bytes. size of block is 12. wut.
Name:
Anonymous
2012-02-03 23:16
holy fuck what is wrong with you
Name:
Anonymous
2012-02-03 23:18
>>2
Care to explain, or just continue shitposting?
Name:
Anonymous
2012-02-03 23:19
Also, did I say that it is being free'd along with all other malloc'd resources, and valgrind claims it is malloc itself that caused the leak?
Name:
Anonymous
2012-02-03 23:20
1/10
Good effort.
Name:
Anonymous
2012-02-03 23:25
what the shit?
Name:
Anonymous
2012-02-03 23:51
sizeof is not a function.
Name:
Anonymous
2012-02-04 1:28
Yes, I took the wide television out of the store. But I never watched it. Therefore, I shouldn't have to pay for it.
Newer Posts