From bf32687c9d410d294ff322135b8d3c3886e9be7e Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Fri, 27 Oct 2023 14:48:10 +0800 Subject: [PATCH] ses_path_alloc() --- ses_utils.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ses_utils.c b/ses_utils.c index ddceae2..eb444d2 100644 --- a/ses_utils.c +++ b/ses_utils.c @@ -303,6 +303,13 @@ ses_path_t* ses_path_alloc() return NULL; } + path->diodes = scf_vector_alloc(); + if (!path->diodes) { + scf_vector_free(path->pins); + free(path); + return NULL; + } + return path; } -- 2.25.1