parent
c695606184
commit
51e5522ca4
|
@ -212,6 +212,7 @@ tmq_list_t* build_topic_list() {
|
||||||
tmq_list_t* topicList = tmq_list_new();
|
tmq_list_t* topicList = tmq_list_new();
|
||||||
int32_t code = tmq_list_append(topicList, "topicname");
|
int32_t code = tmq_list_append(topicList, "topicname");
|
||||||
if (code) {
|
if (code) {
|
||||||
|
tmq_list_destroy(topicList);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
return topicList;
|
return topicList;
|
||||||
|
|
Loading…
Reference in New Issue