diff --git a/plug-ins/common/file-pnm.c b/plug-ins/common/file-pnm.c index 9d349e967e..65619be59d 100644 --- a/plug-ins/common/file-pnm.c +++ b/plug-ins/common/file-pnm.c @@ -693,7 +693,7 @@ load_image (GFile *file, return NULL; /* allocate the necessary structures */ - pnminfo = g_new (PNMInfo, 1); + pnminfo = g_new0 (PNMInfo, 1); pnminfo->tupltype = NULL;