[Freeipa-devel] [PATCH] ipa_pwd_extop: Fix warning declaration shadows previous

Martin Basti mbasti at redhat.com
Mon Aug 8 12:35:46 UTC 2016



On 08.08.2016 13:58, thierry bordaz wrote:
>
>
> On 08/08/2016 01:56 PM, Lukas Slebodnik wrote:
>> On (08/08/16 13:30), thierry bordaz wrote:
>>>
>>> On 08/05/2016 02:16 PM, Lukas Slebodnik wrote:
>>>> ehlo,
>>>>
>>>> attached patches fixes few compiler warnings in ipa-extop.
>>>> Sorry for not following naming convention for patches.
>>>> But I do not remeber my numer and you will use github/pagure
>>>> anyway.
>>>>
>>>> LS
>>>>
>>>>
>>> Hi Lukas,
>>>
>>> 0001-ipa_pwd_extop-Fix-warning-decalration-shadows-previo.patch 
>>> looks ok but
>>> there is a leak in the remaining code.
>>> In fact bind_sdn and target_sdn need to be freed (slapi_sdn_free(&xxx))
>>> before the end of the 'if (dn)' statement.
>>> Do you want to fix it in your patch of should we use an other patch ?
>>>
>>>
>>> 0002-ipa-pwd-extop-Fix-warning-assignment-discards-const-.patch is 
>>> ok. Ack
>>>
>> If I it is not introduced by this patch then it will be better
>> to prepare another patch. "git blame" would be confusing.
>>
>> Thank you for review.
>>
>> LS
> Hi Lukas,
>
> Ok I will prepare a patch for the leaks.
>
> Both patches are ok. ACK
>
> thanks
> thierry
>
Pushed to master: 7e1898bd014234c176b0c5d4d00463c70fba27b0
Pushed to master: 50c53395de7b5b4c62f3bc9004d2c7a94792339f




More information about the Freeipa-devel mailing list