fixed unsafe usage of malloc() pointed out by jtsiomb.
authorJinrong Xie <jrxie@ucdavis.edu>
Mon, 29 Jun 2015 10:09:33 +0000 (10:09 +0000)
committerDiederick Niehorster <dcnieho@gmail.com>
Mon, 29 Jun 2015 10:09:33 +0000 (10:09 +0000)
commitf92518b68600fb6c724efe74179ff3beebb80833
tree235d00b4a363bcddc63a1f3a7a3ceeefe5744db8
parent4e0dd98c5cef6701f92c134bdf11ceecbdd6ad8f
fixed unsafe usage of malloc() pointed out by jtsiomb.

(cherry picked from commit 16bc9077353d8c08e5214ec09288ec03f53aed97)

(cherry picked from commit 16bc9077353d8c08e5214ec09288ec03f53aed97)

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1765 7f0cb862-5218-0410-a997-914c9d46530a
src/mswin/fg_spaceball_mswin.c