From e05bfca0a4377cfd137249f7df8c95706372c140 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 3 Apr 2006 01:00:11 +0000 Subject: Coverity #574: Plug a leak on the error path. --- src/Xdamage.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Xdamage.c') diff --git a/src/Xdamage.c b/src/Xdamage.c index d48d1ad..181a49f 100644 --- a/src/Xdamage.c +++ b/src/Xdamage.c @@ -87,6 +87,7 @@ XDamageExtAddDisplay (XDamageExtInfo *extinfo, { UnlockDisplay (dpy); SyncHandle (); + Xfree(info); return 0; } info->major_version = rep.majorVersion; -- cgit v1.2.3