diff --git a/.pick_status.json b/.pick_status.json index 778325bdc6b..4f4d3796ffd 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -544,7 +544,7 @@ "description": "panfrost: fix tiny sample_positions BO memory leak", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null }, diff --git a/src/panfrost/lib/pan_props.c b/src/panfrost/lib/pan_props.c index 7b698dec8e8..32644df7142 100644 --- a/src/panfrost/lib/pan_props.c +++ b/src/panfrost/lib/pan_props.c @@ -334,6 +334,7 @@ panfrost_close_device(struct panfrost_device *dev) if (dev->model) { pthread_mutex_destroy(&dev->submit_lock); panfrost_bo_unreference(dev->tiler_heap); + panfrost_bo_unreference(dev->sample_positions); panfrost_bo_cache_evict_all(dev); pthread_mutex_destroy(&dev->bo_cache.lock); util_sparse_array_finish(&dev->bo_map);