Skip to content

Commit

Permalink
修正 sdsfree 函数的注释,感谢 @lingdecong 的提醒。
Browse files Browse the repository at this point in the history
  • Loading branch information
huangzworks committed Sep 10, 2013
1 parent 45979fd commit 961a99a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/sds.c
Expand Up @@ -104,8 +104,9 @@ sds sdsdup(const sds s) {
}

/*
* 释放 sds 所对应的 sdshdr 结构的内存
* 给定 sds 必须为 NULL
* 释放 sds 所对应的 sdshdr 结构的内存。
*
* 如果 s 为 NULL ,那么不做动作。
*
* T = O(N)
*/
Expand Down

0 comments on commit 961a99a

Please sign in to comment.