ofono: fix error handling memory cleanup order.
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Tue, 25 Sep 2012 18:27:14 +0000 (15:27 -0300)
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Tue, 25 Sep 2012 19:13:50 +0000 (16:13 -0300)
commitd49679e28dae7bcb9beaa5fb749b0cc224d3fefe
tree2239662bc807caea41186c884a6b9ce9fd8d7ef8
parentbf608043778d20df625568a1796e064eacf2f37d
ofono: fix error handling memory cleanup order.

we must cleanup the stringshares only if the ctx was successfully
created, that also mean we must cleanup the stringshares before we
dispatch the callback. The order was reversed.
utils/ofono.c