[PPM] fix Plugin Manager Destructor segment fault.
authorjunho13.lee <junho13.lee@samsung.com>
Fri, 9 Jan 2015 01:34:11 +0000 (10:34 +0900)
committerSudarshan Prasad <sudarshan.prasad@intel.com>
Thu, 22 Jan 2015 08:13:25 +0000 (08:13 +0000)
commit809d73d109167b110b0bebb9bca04a91d9e1a7dd
tree129a255b7563e38d9e324a2dfc2970a6c87c30e2
parent204d57680d4a342be6d6e8ea0ca382f9aa65e1fc
[PPM] fix Plugin Manager Destructor segment fault.

1. Modify PluginManager Destructor.
2. Remove "free(handle)" and add "dlclose(handle)".

Change-Id: Ib2fc492631914664eac76d0db0d78126e1cefd95
Signed-off-by: junho13.lee <junho13.lee@samsung.com>
(cherry picked from commit 6622fca961729a7bccc23ce54759b35b55c5fca9)
Reviewed-on: https://gerrit.iotivity.org/gerrit/204
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sudarshan Prasad <sudarshan.prasad@intel.com>
service/protocol-plugin/plugin-manager/src/PluginManager.cpp