[PATCH kernel-4.19 243/337] perf record: Fix memory leak when using '--user-regs=?' to list registers