|
From: <sv...@va...> - 2015-09-22 11:06:49
|
Author: florian
Date: Tue Sep 22 12:06:42 2015
New Revision: 15673
Log:
Avoid a possible memory leak.
Modified:
trunk/memcheck/tests/vbit-test/main.c
Modified: trunk/memcheck/tests/vbit-test/main.c
==============================================================================
--- trunk/memcheck/tests/vbit-test/main.c (original)
+++ trunk/memcheck/tests/vbit-test/main.c Tue Sep 22 12:06:42 2015
@@ -136,14 +136,14 @@
const irop_t *op = get_irop(opkind);
if (op == NULL) continue;
- test_data_t *data = new_test_data(op);
-
if (op->undef_kind == UNDEF_UNKNOWN) {
fprintf(stderr, "...skipping %s; unknown undef propagation\n",
op->name);
continue;
}
+ test_data_t *data = new_test_data(op);
+
if (verbose > 1) printf("Testing operator %s\n", op->name);
IRICB iricb = new_iricb(op, data);
|