Added fclose to ResourceThreadImage::LoadResourceSynchronously 28/24128/1
authorRichard Underhill <r.underhill@partner.samsung.com>
Tue, 17 Jun 2014 10:38:48 +0000 (11:38 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 8 Jul 2014 14:48:05 +0000 (15:48 +0100)
Certain files not being closed correctly

Change-Id: I350d45c85d97461843e3e8c33845ae2c6950cb96
Signed-off-by: Richard Underhill<r.underhill@partner.samsung.com>
platform-abstractions/slp/resource-loader/resource-thread-image.cpp

index 6e32b46..8a5c9af 100755 (executable)
@@ -268,6 +268,7 @@ ResourcePointer ResourceThreadImage::LoadResourceSynchronously( const Integratio
     {
       resource.Reset(bitmap.Get());
     }
+    fclose(fp);
   }
   return resource;
 }