hid/gcode: Fix mismatched g_strdup_printf() and free()
commita209f78ca5df0fe107e774537025a77ceb0c1701
authorPeter Clifton <pcjc2@cam.ac.uk>
Sun, 18 Dec 2011 17:58:37 +0000 (18 17:58 +0000)
committerPeter Clifton <pcjc2@cam.ac.uk>
Sun, 18 Dec 2011 17:58:37 +0000 (18 17:58 +0000)
treedbfb284f0129949410cd41702e47a57f9e225610
parent7303e24d34417c9502d6c1730e59f25cd6a12c78
hid/gcode: Fix mismatched g_strdup_printf() and free()

Allocations from the g_*() functions shuold be free'd with g_free().

(Caught with cppcheck)
src/hid/gcode/gcode.c