mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
array: use die_if_null() from common/mem.c
This commit is contained in:
parent
a29bf5366f
commit
e9f17dc4a2
3 changed files with 10 additions and 7 deletions
|
|
@ -5,7 +5,7 @@
|
|||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
static void
|
||||
void
|
||||
die_if_null(void *ptr)
|
||||
{
|
||||
if (!ptr) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue