1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-03 18:25:35 +00:00

fixup! fix: coverity warnings (#3168) (#3193)

This commit is contained in:
Charles Kerr 2022-06-04 11:33:03 -05:00 committed by GitHub
parent 7f1e12f220
commit 2ff4041074
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,7 +94,10 @@ bool favicon_web_done_idle_cb(std::unique_ptr<favicon_data> fav)
} }
// Not released into the next web request, means we're done trying (even if `pixbuf` is still invalid) // Not released into the next web request, means we're done trying (even if `pixbuf` is still invalid)
fav->func(pixbuf); if (fav != nullptr)
{
fav->func(pixbuf);
}
return false; return false;
} }