diff options
Diffstat (limited to 'src/Manage.c')
-rw-r--r-- | src/Manage.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Manage.c b/src/Manage.c index 39097ee..7881094 100644 --- a/src/Manage.c +++ b/src/Manage.c @@ -243,8 +243,7 @@ ManageChildren(WidgetList children, unique_children = cache; } else { - unique_children = (WidgetList) - __XtMalloc((Cardinal) ((size_t) num_children * sizeof(Widget))); + unique_children = XtMallocArray(num_children, (Cardinal) sizeof(Widget)); } num_unique_children = 0; for (i = 0; i < num_children; i++) { |