[CodeClean] missed tag
authorJaeyun Jung <jy1210.jung@samsung.com>
Tue, 1 Aug 2023 07:09:17 +0000 (16:09 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Tue, 1 Aug 2023 09:18:18 +0000 (18:18 +0900)
Code clean, condition to release mem-block and add missed tag.

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
c/src/ml-api-common.c
c/src/ml-api-inference-internal.c

index 2f0d169..67fe170 100644 (file)
@@ -823,9 +823,9 @@ _ml_tensors_info_free (ml_tensors_info_s * info)
         g_free (info->extra[i].name);
       }
     }
-  }
 
-  g_free (info->extra);
+    g_free (info->extra);
+  }
 
   _ml_tensors_info_initialize (info);
 }
index c6df346..98ccfab 100644 (file)
@@ -52,6 +52,9 @@ convert_ml_tensor_type_from (tensor_type type)
   return (ml_tensor_type_e) type;
 }
 
+/**
+ * @brief Check tensor-info has extended rank value.
+ */
 static gboolean
 gst_info_is_extended (const GstTensorsInfo * gst_info)
 {