X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Finterfaces%2Fvmm_stream.c;h=4b391ace2fc6fa49237b7f579cdc16821bb29213;hp=377a545f51eea9c7d8fc9c1c92c0fa0d4c47f9c1;hb=504b1b73f85263b47bba96207b0a615933f87b15;hpb=401f28c04132e4f5ccafc145dcb69b6dee4afe4e diff --git a/palacios/src/interfaces/vmm_stream.c b/palacios/src/interfaces/vmm_stream.c index 377a545..4b391ac 100644 --- a/palacios/src/interfaces/vmm_stream.c +++ b/palacios/src/interfaces/vmm_stream.c @@ -36,7 +36,7 @@ struct v3_stream * v3_stream_open(struct v3_vm_info * vm, const char * name, V3_ASSERT(stream_hooks != NULL); V3_ASSERT(stream_hooks->open != NULL); - stream = V3_Malloc(sizeof(struct v3_stream *)); + stream = V3_Malloc(sizeof(struct v3_stream)); stream->input = input; stream->guest_stream_data = guest_stream_data;