diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-01-03 01:01:08 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@iem.at> | 2015-10-14 15:08:25 +0200 |
commit | 003f2efe5e176b135ce690fc57b033bdb257dbb1 (patch) | |
tree | 503b40c9ed31b43af363a899b5c4ad84d0438146 | |
parent | 96715c9b2b6afb2f677aaa3d351c26627fd6732b (diff) |
oops, forgot to allocate memory to the pointer! tsk tsk...
svn path=/trunk/externals/io/; revision=7132
-rw-r--r-- | wiiremote/aka.wiiremote.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wiiremote/aka.wiiremote.c b/wiiremote/aka.wiiremote.c index 662f94e..5780c43 100644 --- a/wiiremote/aka.wiiremote.c +++ b/wiiremote/aka.wiiremote.c @@ -310,6 +310,7 @@ void *akawiiremote_new(t_symbol *s, short ac, t_atom *av) #ifdef PD t_akawiiremote *x = (t_akawiiremote *)pd_new(wiiremote_class); + x->wiiremote = (WiiRemoteRef)getbytes(sizeof(WiiRemoteRec)); // add in 1.0B4 if (x->wiiremote != nil) wiiremote_init(x->wiiremote); |