Skip to content

Commit

Permalink
Display (Linux): fix memleaks
Browse files Browse the repository at this point in the history
  • Loading branch information
CarterLi committed Aug 26, 2023
1 parent 0534882 commit 2f14d77
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/detection/displayserver/linux/xlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ static bool xrandrHandleOutput(XrandrData* data, RROutput output, FFstrbuf* name
ffEdidGetName(edidData, name);
}
}
if (edidData)
data->ffXFree(edidData);
}
bool res = xrandrHandleCrtc(data, outputInfo->crtc, name, primary);

Expand Down

0 comments on commit 2f14d77

Please sign in to comment.