Merge pull request #517 from dorianj/master

libfreerdp-utils: fix freerdp_append_shared_library_suffix on OS X
This commit is contained in:
Marc-André Moreau 2012-03-27 12:58:04 -07:00
commit 87d3c3eab8

View File

@ -156,7 +156,8 @@ char* freerdp_append_shared_library_suffix(char* file_path)
}
else
{
path = xstrdup(file_path);
path = xmalloc(file_path_length + shared_lib_suffix_length + 1);
sprintf(path, "%s%s", file_path, SHARED_LIB_SUFFIX);
}
return path;