Fix memory leak 01/123501/1 accepted/tizen/unified/20170419.163242 submit/tizen/20170406.055746 submit/tizen/20170413.080524 submit/tizen/20170414.060354 submit/tizen/20170418.072937 submit/tizen/20170418.085103
authorJunsuChoi <jsuya.choi@samsung.com>
Tue, 4 Apr 2017 01:45:24 +0000 (10:45 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 6 Apr 2017 02:17:57 +0000 (11:17 +0900)
commit576781b36f2d342e20acdf750b7b19d3ff9c6628
tree9e9091c26090a3bce0696136d9d1341bd70ec0e1
parentb95659e66457646684e98ccbd878e2fb346b489c
Fix memory leak

   bus/at-spi-bus-launcher.c
   argv[1] is allocated in memory by g_strdup_printf.
   but do not free. So I add g_free function.

   test/at_spi2_tool.c
   Added a null check to avoid double free.

Change-Id: I80ce6af2839c4dfe9c1460885f5b93f281f7ef29
bus/at-spi-bus-launcher.c
test/at_spi2_tool.c