fenrus75 / powertop

The Linux PowerTOP tool -- please post patches to the mailing list instead of using github pull requests
http://www.01.org/powertop
GNU General Public License v2.0
1.07k stars 131 forks source link

i915: Fix possible memory leak of rapl_dev variable #149

Open qiuzhiqian opened 8 months ago

qiuzhiqian commented 8 months ago

If the rapl_dev variable in i915-gpu.cpp is not added to all_devices, it will cause a memory leak.