summaryrefslogtreecommitdiff
path: root/src/tests/compare/efreet_menu_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/compare/efreet_menu_alloc.c')
-rw-r--r--src/tests/compare/efreet_menu_alloc.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/tests/compare/efreet_menu_alloc.c b/src/tests/compare/efreet_menu_alloc.c
new file mode 100644
index 0000000..fcfb75b
--- /dev/null
+++ b/src/tests/compare/efreet_menu_alloc.c
@@ -0,0 +1,23 @@
+#include <Efreet.h>
+#include <stdio.h>
+#include "comp.h"
+
+int
+main(void)
+{
+ int k;
+
+ efreet_init();
+
+ for (k = 0; k < LOOPS; k++)
+ {
+ Efreet_Menu *menu;
+ menu = efreet_menu_get();
+ efreet_menu_free(menu);
+ }
+
+ efreet_shutdown();
+
+ return 0;
+}
+