aboutgitcodelistschat:MatrixIRC
diff options
context:
space:
mode:
-rw-r--r--cooker/call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cooker/call.c b/cooker/call.c
index a2dd734..5544ea7 100644
--- a/cooker/call.c
+++ b/cooker/call.c
@@ -280,7 +280,7 @@ bool arg_needs_temp(struct field *f, int pos, JSON_Value *jvalue,
return false;
if (json_value_get_type(jvalue) == JSONObject &&
- (tmp = json_value_get_object(jvalue))) {
+ (tmp = json_value_get_object(jvalue)) && is_metadata_obj(tmp)) {
if (json_object_get_string(tmp, "set"))
return true;