summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/fileobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index d9162bb..b026413 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -327,6 +327,7 @@ getline(f, n)
int n1, n2;
object *v;
+ fp = f->f_fp;
n2 = n > 0 ? n : 100;
v = newsizedstringobject((char *)NULL, n2);
if (v == NULL)