Closed GoogleCodeExporter closed 8 years ago
Code analysis appears to be wrong in this case, as ret is not initialized until
after
this code.
Original comment by kdeko...@gmail.com
on 21 Jun 2009 at 2:55
Sorry, but you are maybe wrong.
Take a look at line 1216:
if (device_name(uri)) {
name = g_strdup(uri);
if (ret == NULL)
1216 ret = (MetaData *) g_new0(MetaData, 1);
This is before 1282 and ret is initialized.
Cheers
Martin
Original comment by ettl.mar...@gmail.com
on 21 Jun 2009 at 11:19
Ok, I went ahead an patched it as I confirmed what you found.
Original comment by kdeko...@gmail.com
on 21 Jun 2009 at 12:48
Original issue reported on code.google.com by
ettl.mar...@gmail.com
on 20 Jun 2009 at 11:28