Fix TIVI-2278 : Locale is undefined by default, return empty string 06/13606/1
authorBaptiste DURAND <baptiste.durand@open.eurogiciel.org>
Tue, 10 Dec 2013 13:03:00 +0000 (14:03 +0100)
committerBaptiste DURAND <baptiste.durand@open.eurogiciel.org>
Tue, 10 Dec 2013 13:09:15 +0000 (14:09 +0100)
commit592dae7436815f15c33728d8243122c7710b4685
tree811c0e0fd817b211eee2044c68d816ae468e7eef
parent625b63b18384f52af88836c0be9565f13be276b3
Fix TIVI-2278 : Locale is undefined by default, return empty string

- Manage error correctly: do not return NULL value but empty strings.
- Add deallocation for proxy to avoid memory leak.

Change-Id: Id9ef97e3b907c5cb02a711fe583bd6a249fd9f92
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
src/Locale/JSLocale.cpp