Hello Denis, On 10/13/2011 12:56 AM, Denis Kenzior wrote: > Please use g_try_new0 instead of g_try_malloc_n. The result will be a > bit prettier. OK. > Please don't use this particular syntax, we prefer using memcpy for this. OK. >> + memset(*settings + i, 0, >> + sizeof(struct ofono_gprs_provision_data)); > > Do you mean to memset the contents of ap here? Yes. Sorry, this has slipped from one of the previous versions, I will correct. >> + mbpi_provision_data_free(ap); > > using g_free(ap) might be the easier solution. Sure, indeed. Thanks for the review, I will correct and send another patch. Regards, Oleg -- Intel Finland Oy Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606 - 4 Domiciled in Helsinki