mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
-fix memory leak
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2070 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -197,6 +197,7 @@ bool CScreenShot::SavePng()
|
|||||||
{
|
{
|
||||||
printf("CScreenShot::SavePng: %s save error\n", filename.c_str());
|
printf("CScreenShot::SavePng: %s save error\n", filename.c_str());
|
||||||
png_destroy_write_struct(&png_ptr, &info_ptr);
|
png_destroy_write_struct(&png_ptr, &info_ptr);
|
||||||
|
free(row_pointers);
|
||||||
fclose(fd);
|
fclose(fd);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user