Fix struct pkg_config memory leak in pkg_plugin_conf_add_integer()

Reported by:	Coverity Scan
Fix struct pkgdb leak if unable to create db directory in pkgdb_open()

Correct comment.

Reported by:	Coverity Scan
Fix struct rsa_key memory leak in pkg_finish_repo() on error

Reported by:	Coverity Scan
Fix struct packing memory leak on error in pack_db()

Reported by:	Coverity Scan
Fix memory leak in meta_exec()

Reported by:	Coverity Scan
When Reinstalling, show '...' to be consistent with other events
Fix struct pkg_config memory leak in pkg_init() when error converting integer

Reported by:	Coverity Scan
Fix memory leak in pkg_addscript_file() when encountering invalid script

Reported by:	Coverity Scan
Fix potential NULL pointer dereference in free_percent_esc()

Reported by:	Coverity Scan