eina unicode - fix calloc stupidity
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 13 Aug 2014 00:05:37 +0000 (09:05 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 13 Aug 2014 00:05:37 +0000 (09:05 +0900)
commit6dc52db881cbe29dfe8b9a2a0a6745a8b3fa0673
tree94ff2756715e74c9339d312d871c0650b38ee3af
parentd539152156e50e81e18c3eb226db8095f83bd7d1
eina unicode - fix calloc stupidity

in looking at CID 1230994 i noticed that eina_unicode_unicode_to_utf8
and eina_unicode_utf8_to_unicode are really dumb. they calloc an array
of bytes then proceed to fill them all in anyway. why? also the
realloc handing in eina_unicode_unicode_to_utf8 wasn't strictly corect
and could leak memory. so this just fixes silly slow code and a leak.
src/lib/eina/eina_unicode.c