mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-06 14:20:12 +01:00
glamor_fbo: fix a memory leak for large pixmap.
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
This commit is contained in:
parent
2122e60bf9
commit
1e4fc85a71
1 changed files with 2 additions and 1 deletions
|
|
@ -553,8 +553,9 @@ glamor_pixmap_destroy_fbo(glamor_pixmap_private *priv)
|
|||
fbo = glamor_pixmap_detach_fbo(priv);
|
||||
if (fbo)
|
||||
glamor_destroy_fbo(fbo);
|
||||
free(priv);
|
||||
}
|
||||
|
||||
free(priv);
|
||||
}
|
||||
|
||||
Bool
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue