summaryrefslogtreecommitdiff
path: root/src/plparse/totem-pl-parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plparse/totem-pl-parser.c')
-rw-r--r--src/plparse/totem-pl-parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plparse/totem-pl-parser.c b/src/plparse/totem-pl-parser.c
index 042c91023..3f8c12fd1 100644
--- a/src/plparse/totem-pl-parser.c
+++ b/src/plparse/totem-pl-parser.c
@@ -278,6 +278,7 @@ my_gnome_vfs_get_mime_type_with_data (const char *uri, gpointer *data, TotemPlPa
/* Read the whole thing, up to MIME_READ_CHUNK_SIZE */
buffer = NULL;
total_bytes_read = 0;
+ bytes_read = 0;
do {
buffer = g_realloc (buffer, total_bytes_read
+ MIME_READ_CHUNK_SIZE);