[vlc-devel] commit: missing strdup (Geoffroy Couprie )
Geoffroy Couprie
geo.couprie at gmail.com
Thu Mar 5 17:17:51 CET 2009
On Thu, Mar 5, 2009 at 4:54 PM, Jean-Baptiste Kempf <jb at videolan.org> wrote:
> On Thu, Mar 05, 2009 at 04:53:24PM +0100, Geoffroy Couprie wrote :
>> On Thu, Mar 5, 2009 at 4:21 PM, Geoffroy Couprie <geo.couprie at gmail.com> wrote:
>>
>> I think I found it: the string pointed by the returned value of qtu is
>> valid as long as the QString is valid (and here, url is valid as long
>> as the podcast configuration dialog is). So, I need a strdup.
>
> But do you need a const?
>
It works with strdup and without const.
More information about the vlc-devel
mailing list