Skip to content

Commit 31400dd

Browse files
dlmilesRTimothyEdwards
authored andcommitted
plotPNM.c: Fix crash due to uninited rtl_args.outfile
I introduced this issue in recent commit e88dcba
1 parent e592122 commit 31400dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plot/plotPNM.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,7 @@ PlotPNM(fileName, scx, layers, xMask, width)
587587

588588
#ifdef VERSATEC
589589
struct plotRTLdata rtl_args;
590+
rtl_args.outfile = NULL;
590591
char command[200], tempFile[200];
591592
#endif
592593

0 commit comments

Comments
 (0)