mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 05:47:42 +02:00
correct zeroing of allplots array
This commit is contained in:
+1
-1
@@ -1018,7 +1018,7 @@ char** ngSpice_AllPlots(void)
|
|||||||
allplots[i] = pl->pl_typename;
|
allplots[i] = pl->pl_typename;
|
||||||
pl = pl->pl_next;
|
pl = pl->pl_next;
|
||||||
}
|
}
|
||||||
allplots[len] = '\0';
|
allplots[len] = NULL;
|
||||||
return allplots;
|
return allplots;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user