diff --git a/ext/lxc.c b/ext/lxc.c index eb2a33b..3fc553b 100644 --- a/ext/lxc.c +++ b/ext/lxc.c @@ -77,7 +77,7 @@ container_initialize(int argc, VALUE *argv, VALUE self) rb_raise(Error, "error creating container %s", name); Data_Get_Struct(self, struct container_data, data); - container = data->container; + data->container = container; return self; }