diff options
| author | 2012-04-06 14:49:34 +0200 | |
|---|---|---|
| committer | 2012-04-06 14:49:34 +0200 | |
| commit | b9620d31217afd09453a65dba295638271cc43be (patch) | |
| tree | 9d0be50bfaaadd5ba302a2ad2500b014c1706898 /src/restore.c | |
| parent | 0d1bbe1ea3107d0e33952335b0c9cd7b4ff3c3fe (diff) | |
| download | libimobiledevice-b9620d31217afd09453a65dba295638271cc43be.tar.gz libimobiledevice-b9620d31217afd09453a65dba295638271cc43be.tar.bz2 | |
restore: initialize uninitialized struct member info
Diffstat (limited to 'src/restore.c')
| -rw-r--r-- | src/restore.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/restore.c b/src/restore.c index a9ab8b9..3474091 100644 --- a/src/restore.c +++ b/src/restore.c | |||
| @@ -378,6 +378,7 @@ restored_error_t restored_client_new(idevice_t device, restored_client_t *client | |||
| 378 | client_loc->parent = plistclient; | 378 | client_loc->parent = plistclient; |
| 379 | client_loc->udid = NULL; | 379 | client_loc->udid = NULL; |
| 380 | client_loc->label = NULL; | 380 | client_loc->label = NULL; |
| 381 | client_loc->info = NULL; | ||
| 381 | if (label != NULL) | 382 | if (label != NULL) |
| 382 | client_loc->label = strdup(label); | 383 | client_loc->label = strdup(label); |
| 383 | 384 | ||
