Fixed uninitialized value.
authorArmin Novak <armin.novak@thincast.com>
Tue, 23 Jun 2015 10:09:42 +0000 (12:09 +0200)
committerArmin Novak <armin.novak@thincast.com>
Tue, 23 Jun 2015 10:09:42 +0000 (12:09 +0200)
server/Sample/sfreerdp.c

index 7cb018b..aa09454 100644 (file)
@@ -239,7 +239,7 @@ static BOOL test_peer_load_icon(freerdp_peer* client)
        FILE* fp;
        int i;
        char line[50];
-       BYTE* rgb_data;
+       BYTE* rgb_data = NULL;
        int c;
 
        if (!client->settings->RemoteFxCodec && !client->settings->NSCodec)