fix memory leak and uninitialized local variable issues 65/119165/1
authorYoungbok Shin <youngb.shin@samsung.com>
Thu, 16 Mar 2017 01:44:02 +0000 (10:44 +0900)
committerYoungbok Shin <youngb.shin@samsung.com>
Thu, 16 Mar 2017 01:44:02 +0000 (10:44 +0900)
commita48fac2edbac930a86955ad2ae0f169e22672c7f
treea68636a06a4671c08bfad004dc3bcca7b3d4b4fa
parent75f316df35401bbd15839f8e8a7846414c8fe543
fix memory leak and uninitialized local variable issues

- Memory leak from FontConfig Pattern pointer.
- Uninitialized local variable can be problem
  when it checks address for free and file close.

Change-Id: I5a23fbf2fa484a70cceaab9eb6cbda5d86cb02f1
pkgmgr_font/src/font_service_register.c