Fix double pointers & asprintf