diff options
author | Eion Robb <eion@robbmob.com> | 2007-11-02 03:45:28 +0300 |
---|---|---|
committer | Eion Robb <eion@robbmob.com> | 2007-11-02 03:45:28 +0300 |
commit | 2a588372fbfa05fd6b9182836203339f9b9d5067 (patch) | |
tree | 5e6060e8f8114c6708fc89218aad4c1c0464de99 /skype_messaging.c | |
parent | 254f1834e0e42d78b6ce40755c7ca2ec162162da (diff) |
Error messages can now be free()'d without a segfault
Diffstat (limited to 'skype_messaging.c')
-rw-r--r-- | skype_messaging.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skype_messaging.c b/skype_messaging.c index 7c2863b..c372f1f 100644 --- a/skype_messaging.c +++ b/skype_messaging.c @@ -135,7 +135,7 @@ char *skype_send_message(char *message_format, ...) if (strncmp(return_msg, "ERROR", 5) == 0)
{
g_free(return_msg);
- return "";
+ return g_strdup("");
}
return return_msg;
}
|