diff options
-rw-r--r-- | src/Xv.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -381,6 +381,7 @@ XvQueryEncodings( u.buffer += (sz_xvEncodingInfo + 3) & ~3; if ( (name = (char *)Xmalloc(size+1)) == NULL) { + XvFreeEncodingInfo(pes); Xfree(buffer); UnlockDisplay(dpy); SyncHandle(); |