summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/gdbmmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/gdbmmodule.c b/Modules/gdbmmodule.c
index 025bdb7..76d54f8 100644
--- a/Modules/gdbmmodule.c
+++ b/Modules/gdbmmodule.c
@@ -97,6 +97,7 @@ dbm_length(dbmobject *dp)
datum key,okey;
int size;
okey.dsize=0;
+ okey.dptr=NULL;
size = 0;
for (key=gdbm_firstkey(dp->di_dbm); key.dptr;