[2016-01-28 01:26:24 UTC] Were you doing like: free(x); return x; ? [2016-01-28 01:26:34 UTC] cuz that would not be kosher [2016-01-28 16:58:30 UTC] no i was doing x = malloc(), getPaylod(iter, x), *return = *x, free(x) [2016-01-28 20:50:42 UTC] for my java class we're using supplier, so in order to get a new instance, we did: newchain.get() instead of creating a new linkedlist for some data structure we had to make [2016-01-28 20:51:16 UTC] it's actually pretty scary though cuz I have no idea what this supplier and functional programming thing is :(