mirror of
https://github.com/redis/redis.git
synced 2026-05-28 04:02:46 -04:00
fix function listCreate comment in adlist.c
This commit is contained in:
parent
0af467d18f
commit
9dba47c377
1 changed files with 1 additions and 5 deletions
|
|
@ -33,11 +33,7 @@
|
||||||
#include "adlist.h"
|
#include "adlist.h"
|
||||||
#include "zmalloc.h"
|
#include "zmalloc.h"
|
||||||
|
|
||||||
/* Create a new list. The created list can be freed with
|
/* On error, NULL is returned. Otherwise the pointer to the new list. */
|
||||||
* AlFreeList(), but private value of every node need to be freed
|
|
||||||
* by the user before to call AlFreeList().
|
|
||||||
*
|
|
||||||
* On error, NULL is returned. Otherwise the pointer to the new list. */
|
|
||||||
list *listCreate(void)
|
list *listCreate(void)
|
||||||
{
|
{
|
||||||
struct list *list;
|
struct list *list;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue