update gitignore

Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
remove auto generated file

Signed-off-by: AceLan Kao <acelan@acelan.idv.tw>
fix a memory leak issue

Signed-off-by: AceLan Kao <acelan@acelan.idv.tw>