[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new warnings
From: |
Ben Pfaff |
Subject: |
Re: new warnings |
Date: |
Tue, 31 Jul 2012 22:55:59 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Ben Pfaff <address@hidden> writes:
> Ben Pfaff <address@hidden> writes:
>
>> I see some new warnings on master. This one looks serious:
>>
>> src/data/ods-reader.c: In function ‘ods_open_reader’:
>> src/data/ods-reader.c:596: error: passing argument 1 of
>> ‘ods_file_casereader_destroy’ from incompatible pointer type
>> src/data/ods-reader.c:120: note: expected ‘struct casereader *’ but argument
>> is of type ‘struct zip_reader *’
>
> Looking more closely at this one, I guess we can just pass NULL
> for that argument, since the function doesn't use it.
I checked in that fix.
> I don't see anything that destroys struct ods_reader's dict in
> the successful case, so perhaps the dict_destroy() should be
> moved into ods_file_casereader_destroy() so it gets executed in
> both cases?
I didn't do anything about this. John, do you want to see
whether this is a real leak?
Thanks,
Ben.
- Re: new warnings,
Ben Pfaff <=