summaryrefslogtreecommitdiff
path: root/src/lib/edje
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-09-28 09:16:02 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-09-28 15:28:00 +0900
commitbee7bf5767f5dc83eba88d740b1a729ca7077b9b (patch)
treeaf56eeea89a169caa654f0c97ba4aa00947e23fa /src/lib/edje
parente095562ea1da6ddb9de40882d9345be9bcc6223f (diff)
efl ui text - fix resource leak of strbuf and pointless buffer code
edje_object_part_text_style_user_push() doesnt need you to stringshare_add a string... some other code did it because it "gets" the string from an obj that might free/delete the string on push etc. or before so it keeps a copy but then it stringshare_del's it anyway... the _textpath_ellipsis_set() code creates a trsbuf that wasn't freed if enabled was false and it never stringshare_del'd the string is stringshare_added... all of this was pointless code anyway. you could just pass the constant string directly. fixes CID 1380543
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions