mirror of
https://github.com/samba-team/samba.git
synced 2025-12-12 12:23:50 +03:00
committed by
Gerald (Jerry) Carter
parent
5d363fa0dd
commit
10d58661be
@@ -609,6 +609,14 @@ static BOOL test_realloc(void)
|
||||
return True;
|
||||
}
|
||||
|
||||
struct el2 {
|
||||
const char *name;
|
||||
};
|
||||
|
||||
struct el1 {
|
||||
int count;
|
||||
struct el2 **list, **list2, **list3;
|
||||
};
|
||||
|
||||
/*
|
||||
test realloc with a child
|
||||
@@ -616,12 +624,7 @@ static BOOL test_realloc(void)
|
||||
static BOOL test_realloc_child(void)
|
||||
{
|
||||
void *root;
|
||||
struct el1 {
|
||||
int count;
|
||||
struct el2 {
|
||||
const char *name;
|
||||
} **list, **list2, **list3;
|
||||
} *el1;
|
||||
struct el1 *el1;
|
||||
struct el2 *el2;
|
||||
|
||||
printf("TESTING REALLOC WITH CHILD\n");
|
||||
|
||||
Reference in New Issue
Block a user