Commit b2df3b49 authored by Ghislain MARY's avatar Ghislain MARY

Compilation fixes.

parent bf849dd3
......@@ -47,7 +47,7 @@ liblinphone_la_SOURCES=\
event.c \
friend.c \
friendlist.c \
im_notify_policy.c \
im_notif_policy.c \
info.c \
ldapprovider.c \
linphonecall.c \
......
......@@ -419,7 +419,7 @@ static int linphone_chat_room_get_messages_count(LinphoneChatRoom *cr, bool_t un
int numrows=0;
char *peer;
char *buf;
char *option;
char *option = NULL;
sqlite3_stmt *selectStatement;
int returnValue;
......@@ -447,7 +447,7 @@ static int linphone_chat_room_get_messages_count(LinphoneChatRoom *cr, bool_t un
* because it has been tested above */
if(unread_only) {
cr->unread_count = numrows;
bctbx_free(option);
if (option) bctbx_free(option);
}
return numrows;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment