diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-05-06 01:28:56 +0100 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-05-06 01:28:56 +0100 | 
| commit | aea8b68bd0e057441d671c008200e71dd046a211 (patch) | |
| tree | ba3d668eec9747c9009a50e8cdbaa842bddf446c /protocols/bee.c | |
| parent | 94383231eddf56112cf74f2ae65d691821d70803 (diff) | |
Starting to restore chatroom stuff. Only enough to create and be joined
into a room. More will follow soon.
Diffstat (limited to 'protocols/bee.c')
| -rw-r--r-- | protocols/bee.c | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/bee.c b/protocols/bee.c index de9550c2..8c38d550 100644 --- a/protocols/bee.c +++ b/protocols/bee.c @@ -46,6 +46,8 @@ bee_t *bee_new()  	s->flags |= SET_NULL_OK;  	s = set_add( &b->set, "strip_html", "true", NULL, b ); +	b->user = g_malloc( 1 ); +	  	return b;  } @@ -69,6 +71,7 @@ void bee_free( bee_t *b )  	while( b->set )  		set_del( &b->set, b->set->key ); +	g_free( b->user );  	g_free( b );  }  | 
