Review Request 186: service: added dbus based service provider [1/1] service: added dbus based service provider

Jan Safranek reviewboard at gallagherhome.com
Wed Apr 17 08:16:29 UTC 2013



> On April 17, 2013, 10:15 a.m., Jan Safranek wrote:
> > src/service-dbus/util/serviceutil.c, lines 105-107
> > <http://reviewboard-openlmi.rhcloud.com/r/186/diff/1/?file=1032#file1032line105>
> >
> >     This function allocates lot of data (strdup), I haven't found a place where it's released.

Also the function should free the data on error, e.g. when getting ActiveState property fails, all the strdups before should be freed.


- Jan


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-openlmi.rhcloud.com/r/186/#review236
-----------------------------------------------------------


On April 11, 2013, 5:23 p.m., Vitezslav Crhonek wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard-openlmi.rhcloud.com/r/186/
> -----------------------------------------------------------
> 
> (Updated April 11, 2013, 5:23 p.m.)
> 
> 
> Review request for OpenLMI Developers.
> 
> 
> Repository: openlmi-providers
> 
> 
> Description
> -------
> 
> service: added dbus based service provider
> 
> 
> Diffs
> -----
> 
>   README 7e17e458ef4699a62ec933a6d4a51f35588f97e1 
>   src/CMakeLists.txt 73189110171562bdcbaf56faff7d2d07b325a076 
>   src/service-dbus/CMakeLists.txt PRE-CREATION 
>   src/service-dbus/LMI_ServiceProvider.c PRE-CREATION 
>   src/service-dbus/util/serviceutil.h PRE-CREATION 
>   src/service-dbus/util/serviceutil.c PRE-CREATION 
> 
> Diff: http://reviewboard-openlmi.rhcloud.com/r/186/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Vitezslav Crhonek
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/openlmi-devel/attachments/20130417/59668e5d/attachment.html>


More information about the openlmi-devel mailing list