projects
/
ses.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d448199
)
ses_path_alloc()
author
yu.dongliang
<18588496441@163.com>
Fri, 27 Oct 2023 06:48:10 +0000
(14:48 +0800)
committer
yu.dongliang
<18588496441@163.com>
Fri, 27 Oct 2023 06:48:10 +0000
(14:48 +0800)
ses_utils.c
patch
|
blob
|
blame
|
history
diff --git
a/ses_utils.c
b/ses_utils.c
index ddceae288d708e71ac6275876bb345799c7c367f..eb444d25b164edcab277ba4163b2ec0aabf938f5 100644
(file)
--- 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;
}