lxc / ruby-lxc

ruby bindings for liblxc
https://linuxcontainers.org/lxc
GNU Lesser General Public License v2.1
134 stars 29 forks source link

do not free(value) before value is used #13

Closed jeremiahsnapp closed 10 years ago

jeremiahsnapp commented 10 years ago

I tested this and it fixed the problem I was having.

andrenth commented 10 years ago

Thanks, I'll apply this and release 1.0.1 as soon as I return from the holidays. On Mar 4, 2014 1:22 PM, "Jeremiah Snapp" notifications@github.com wrote:


You can merge this Pull Request by running

git pull https://github.com/jeremiahsnapp/ruby-lxc master

Or view, comment on, or merge it at:

https://github.com/lxc/ruby-lxc/pull/13 Commit Summary

  • do not free(value) before value is used

File Changes

  • M ext/lxc/lxc.chttps://github.com/lxc/ruby-lxc/pull/13/files#diff-0(6)

Patch Links:

Reply to this email directly or view it on GitHubhttps://github.com/lxc/ruby-lxc/pull/13 .

andrenth commented 10 years ago

I've applied a slightly different fix, and released 1.0.1. Thanks!

jeremiahsnapp commented 10 years ago

Thanks a lot!