[PATCH v3] audit: fix a memory leak bug