]> git.ipfire.org Git - thirdparty/glibc.git/blob - elf/tst-array4.c
Fix bad pointer / leak in regex code
[thirdparty/glibc.git] / elf / tst-array4.c
1 #include <dlfcn.h>
2
3 #define main array1_main
4 #include "tst-array1.c"
5 #undef main
6
7 int
8 main (void)
9 {
10 void *handle = dlopen ("tst-array2dep.so", RTLD_LAZY);
11
12 array1_main ();
13
14 if (handle != NULL)
15 dlclose (handle);
16
17 return 0;
18 }