sdjournal: free correct pointer
Since defer creates a closure, it ends up freeing the wrong pointer in these situations (i.e. not the one that ends up getting allocated by asprintf during the actual sdjournal call).
Please register or sign in to comment