egl-helpers: fix possible resource leak
commitf454f49c42d4ec7bdbbb5a7d9c0c8bfb24b28ca4
authorGonglei <arei.gonglei@huawei.com>
Thu, 12 May 2016 09:57:07 +0000 (12 17:57 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 12 May 2016 14:41:46 +0000 (12 16:41 +0200)
tree735fa69f15943fef44d4e15151880a9d226a5e86
parent42ddb8aa7c0ad727537db0f1b25c7640b36ef35e
egl-helpers: fix possible resource leak

CID 1352419, using g_strdup_printf instead of asprintf.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1463047028-123868-2-git-send-email-arei.gonglei@huawei.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/egl-helpers.c