diff options
-rw-r--r-- | src/gui_project.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui_project.c b/src/gui_project.c index d1af3583..a12f5ad8 100644 --- a/src/gui_project.c +++ b/src/gui_project.c @@ -680,8 +680,7 @@ static char **add_stream(char *new_stream, int *pn_streams) { int i = *pn_streams; - char **new_streams = realloc(streams, - (i+1)*sizeof(struct gui_indexing_result)); + char **new_streams = realloc(streams, (i+1)*sizeof(char *)); if ( new_streams == NULL ) return streams; new_streams[i] = new_stream; |