Dirk Hohndel 00d8531382 Fix a couple of small problems in add weightsystem
The constructor letf the currentWeightsytem variable uninitialized.
Instead of creating the memory leak by malloc-ing the newWeightsystem in
the on_addWeight_clicked() function use a local variable instead and pass
its address around.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-01 16:23:20 -07:00
..
2013-05-01 14:43:07 -07:00
2013-05-01 14:43:07 -07:00
2013-05-01 14:43:07 -07:00