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 nodejs
Since you're using the version of Buffer::New() where it allocates memory for you, then yes, the memory will be free'd when the Buffer is garbage collected.
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
Ben Noordhuis
unread,
Apr 14, 2013, 2:16:13 PM4/14/13
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 nod...@googlegroups.com
On Sun, Apr 14, 2013 at 8:08 PM, Bodo Kaiser <bodo....@enabre.com> wrote:
> Thanks for the hint.
>
> So the node Buffer does not free my assigned bytes when I do not use the free_callback?
>
> Bodo
The non-free_callback versions of Buffer::New() copy the memory.
You're responsible for freeing the original memory.
Bodo Kaiser
unread,
Apr 14, 2013, 2:20:45 PM4/14/13
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