artem.popov
1fb06dc09b
eina_unicode: fix memory allocation
...
Summary:
there is wrong memory allocation, Eina_Unicode has 4 bytes, allocation
is like for char
@fix
Reviewers: Hermet, seoz, raster, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1609
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-10-29 22:38:11 +01:00
Carsten Haitzler
90bbc73c6e
eina unicode - remove pointless operands
...
fixes CID 1039676
2014-08-14 19:18:46 +09:00
Carsten Haitzler
6f0f046b83
fix eina unicode realloc fix of coverity complaints - return right buf.
2014-08-13 18:01:48 +09:00
Carsten Haitzler
dcc55bbfd4
eina - and follow-on calloc fixup - 0 terminate first calloced string
...
this follows on from 6dc52db881
2014-08-13 11:52:59 +09:00
Carsten Haitzler
6dc52db881
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.
2014-08-13 09:05:37 +09:00
Cedric BAIL
d32ee023e3
efl: missing deprecated user.
...
SVN revision: 83049
2013-01-22 02:14:07 +00:00
Cedric BAIL
336e0c5e38
efl: deprecate eina_unicode_utf8_get_next, add eina_unicode_utf8_next_get.
...
SVN revision: 83048
2013-01-22 02:00:55 +00:00
Cedric BAIL
066543089d
efl: inline eina_unicode_utf8_get_next.
...
SVN revision: 83035
2013-01-21 09:37:14 +00:00
Cedric BAIL
7a132e9c08
efl: backport r78215.
...
SVN revision: 78217
2012-10-19 01:51:07 +00:00
Vincent Torri
785f2a6b3a
merge : add eina
...
currently, examples, tests and benchmark are not set. That's the next things i'll do
SVN revision: 76710
2012-09-16 10:57:48 +00:00