git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ea07c2
)
Fix unitialized value
author
Rémi Denis-Courmont
<rdenis@simphalempin.com>
Sun, 12 Oct 2008 18:50:35 +0000
(21:50 +0300)
committer
Rémi Denis-Courmont
<rdenis@simphalempin.com>
Sun, 12 Oct 2008 19:44:57 +0000
(22:44 +0300)
modules/misc/logger.c
patch
|
blob
|
history
diff --git
a/modules/misc/logger.c
b/modules/misc/logger.c
index
713a8ea
..
a5610f0
100644
(file)
--- a/
modules/misc/logger.c
+++ b/
modules/misc/logger.c
@@
-271,9
+271,14
@@
static int Open( vlc_object_t *p_this )
VLC_THREAD_PRIORITY_LOW))
p_sys->rrd.stream = rrd;
else
+ {
fclose (rrd);
+ p_sys->rrd.stream = NULL;
+ }
}
}
+ else
+ p_sys->rrd.stream = NULL;
free( psz_rrd_file );
p_sys->p_sub = msg_Subscribe( p_intf );