valgrind: Fix memory leak at expr_error.
[cascardo/ovs.git] / ovn / lib / actions.c
index 44957c7..a17b5a7 100644 (file)
@@ -288,6 +288,7 @@ action_parse_field(struct action_context *ctx,
                              &prereqs);
     if (error) {
         action_error(ctx, "%s", error);
+        free(error);
         return false;
     }