Fixed typos 97/217297/1
authorsungrae jo <seongrae.jo@samsung.com>
Fri, 8 Nov 2019 06:18:48 +0000 (15:18 +0900)
committersungrae jo <seongrae.jo@samsung.com>
Fri, 8 Nov 2019 06:18:48 +0000 (15:18 +0900)
Change-Id: I52b57ab51959eafd2c711058389778b8716dbf4c
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
common/vc_cmd_db.c

index 9fdb4ec..ad72839 100644 (file)
@@ -2161,7 +2161,7 @@ static int __vc_db_insert_command(sqlite3* db_handle, int pid, vc_cmd_type_e typ
                SLOG(LOG_ERROR, vc_db_tag(), "[ERROR] Fail to generate command, %d", ret);
 
                if (NULL != tmp_cmd) {
-                       __vc_db_command_destory((vc_cmd_h)tmp_cmd);
+                       __vc_db_command_destroy((vc_cmd_h)tmp_cmd);
                }
                return ret;
        }
@@ -2191,7 +2191,7 @@ static int __vc_db_insert_command(sqlite3* db_handle, int pid, vc_cmd_type_e typ
                                                free(fixed_cmd);
                                                fixed_cmd = NULL;
                                        }
-                                       __vc_db_command_destory((vc_cmd_h)tmp_cmd);
+                                       __vc_db_command_destroy((vc_cmd_h)tmp_cmd);
                                        break;
                                }
 
@@ -2209,7 +2209,7 @@ static int __vc_db_insert_command(sqlite3* db_handle, int pid, vc_cmd_type_e typ
                                                        free(fixed_cmd);
                                                        fixed_cmd = NULL;
                                                }
-                                               __vc_db_command_destory((vc_cmd_h)tmp_cmd);
+                                               __vc_db_command_destroy((vc_cmd_h)tmp_cmd);
                                                break;
                                        }
                                }
@@ -2245,7 +2245,7 @@ static int __vc_db_insert_command(sqlite3* db_handle, int pid, vc_cmd_type_e typ
                free(fixed_cmd);
                fixed_cmd = NULL;
        }
-       __vc_db_command_destory((vc_cmd_h)tmp_cmd);
+       __vc_db_command_destroy((vc_cmd_h)tmp_cmd);
        return VC_DB_ERROR_NONE;
 }