qcacld-3.0: Move the freeing of tartget memory module_exit to stop_modules

In the Loadonce unload never driver the modules_start and modules_stop
happen multiple times and presently the memory for target_name is
allocated multiple times during the start_modules but freed only
once during the module_exit, so when the driver is unloaded
this can result in  a crash.

Moving this to stop_modules will help in freeing this everytimg.

Change-Id: I87a92c8b411fb0ae148a293d74e6914246b88014
CRs-Fixed: 2107392
1 file changed
tree: edc66959a722e79a0d800f736a189edb89458642
  1. components/
  2. core/
  3. uapi/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile
  8. README.txt