memory cleanup in gallery
This commit is contained in:
parent
0ba9332358
commit
3f881f1ca5
|
@ -81,6 +81,7 @@ class OC_Gallery_Scanner {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
imagepng($thumbnail, OC_Config::getValue("datadirectory").'/'. OC_User::getUser() .'/gallery/' . $albumName.'.png');
|
imagepng($thumbnail, OC_Config::getValue("datadirectory").'/'. OC_User::getUser() .'/gallery/' . $albumName.'.png');
|
||||||
|
imagedestroy($thumbnail);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function createIntermediateAlbums() {
|
public static function createIntermediateAlbums() {
|
||||||
|
|
Loading…
Reference in New Issue