diff -Naur libunique-1.1.6.orig/unique/uniquemessage.c libunique-1.1.6/unique/uniquemessage.c
--- libunique-1.1.6.orig/unique/uniquemessage.c	2009-11-09 17:02:06.000000000 +0600
+++ libunique-1.1.6/unique/uniquemessage.c	2010-11-06 23:05:32.022623081 +0600
@@ -300,6 +300,8 @@
   gsize len;
   GError *error = NULL;
 
+  if(!message_data->data) return NULL;
+
   str = g_strdup ((gchar *) message_data->data);
   len = message_data->length;
 
