Fixing: 265994 - <coverity> defects from libaccounts-ui/0.141-1_0m6
Fixing: 265994 - <coverity> defects from libaccounts-ui/0.141-1_0m6

nemomobile-graveyard/libaccounts-ui,smita30apr/my-libaccounts-ui,nemomobile-graveyard/libaccounts-ui,smita30apr/my-libaccounts-ui