diff options
Diffstat (limited to 'src/sbservices.c')
-rw-r--r-- | src/sbservices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbservices.c b/src/sbservices.c index 25602d3..91f4b9c 100644 --- a/src/sbservices.c +++ b/src/sbservices.c @@ -103,7 +103,7 @@ sbservices_error_t sbservices_client_new(idevice_t device, uint16_t port, sbserv return err; } - sbservices_client_t client_loc = (sbservices_client_t) malloc(sizeof(struct sbservices_client_int)); + sbservices_client_t client_loc = (sbservices_client_t) malloc(sizeof(struct sbservices_client_private)); client_loc->parent = plistclient; client_loc->mutex = g_mutex_new(); |