diff options
Diffstat (limited to 'src/pgtkselect.c')
-rw-r--r-- | src/pgtkselect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pgtkselect.c b/src/pgtkselect.c index ef21a8a74c1..f1a9214a6b4 100644 --- a/src/pgtkselect.c +++ b/src/pgtkselect.c @@ -1822,7 +1822,7 @@ targets) that can be dropped on top of FRAME. */) CHECK_LIST (targets); length = list_length (targets); n = 0; - entries = SAFE_ALLOCA (sizeof *entries * length); + SAFE_NALLOCA (entries, 1, length); memset (entries, 0, sizeof *entries * length); tem = targets; |