Fix a possible leak of the data.
Fix a possible leak of the data.

If n==0 and m==0 make sure that free will be called
on data.  We do this by allocating a place to store
data.

cburstedde/libsc,johannrudi/libsc,cburstedde/libsc,holke/libsc,johannrudi/libsc,holke/libsc,holke/libsc,johannrudi/libsc,cburstedde/libsc,johannrudi/libsc,cburstedde/libsc,johannrudi/libsc,holke/libsc,cburstedde/libsc