compositor-x11: Fix a memory leak.
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>
Fri, 12 Oct 2012 10:25:11 +0000 (12:25 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 16 Oct 2012 15:50:05 +0000 (11:50 -0400)
src/compositor-x11.c

index 2349936..e616f45 100644 (file)
@@ -1239,6 +1239,7 @@ output_section_done(void *data)
                if (output_name)
                        free(output_name);
                output_name = NULL;
+               free(output);
                goto err_free;
        }