mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
5 lines
102 B
Python
5 lines
102 B
Python
def file_leak():
|
|||
f = open("data.txt", "r")
|
|||
f.read()
|
|||
# Missing f.close() — resource leak
|