On 2020/11/12 14:37, Markus Armbruster wrote:
> Alex Chen writes:
>
>> In qobject_type(), NULL is returned when the 'QObject' returned from
>> parse_value() is not of QString type,
>> and this 'QObject' memory will leaked.
>> So we need to first check whether the 'QObject' returned from
Alex Chen writes:
> In qobject_type(), NULL is returned when the 'QObject' returned from
> parse_value() is not of QString type,
> and this 'QObject' memory will leaked.
> So we need to first check whether the 'QObject' returned from parse_value()
> is of QString type,
> and if not, we free
In qobject_type(), NULL is returned when the 'QObject' returned from
parse_value() is not of QString type,
and this 'QObject' memory will leaked.
So we need to first check whether the 'QObject' returned from parse_value() is
of QString type,
and if not, we free 'QObject' memory and return an