resolve warning

This commit is contained in:
niels
2025-11-02 15:17:15 +01:00
parent fabdea3007
commit 00cb163591

View File

@@ -1456,7 +1456,7 @@ void viewport_destroy( void *data )
if( v->ui ) {
if( v->ui->scaler )
yuv_free_swscaler(v->ui->scaler);
if( v->ui->buf )
if( v->ui->buf[0] )
free(v->ui->buf[0]);
free(v->ui);
}