summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/options.c b/src/options.c
index 491b4f0..f4874b2 100644
--- a/src/options.c
+++ b/src/options.c
@@ -5,8 +5,8 @@
* channels from one dvb device and provides the streams via minimal http.
*
*
- * Copyright (C) 2011 Christian Pointner <equinox@spreadspace.org>
- *
+ * Copyright (C) 2011-2016 Christian Pointner <equinox@spreadspace.org>
+ *
* This file is part of gstdvbbackend.
*
* gstdvbbackend is free software: you can redistribute it and/or modify
@@ -139,9 +139,9 @@ int options_parse_hex_string(const char* hex, buffer_t* buffer)
if(hex_len%2)
return 1;
- if(buffer->buf_)
+ if(buffer->buf_)
free(buffer->buf_);
-
+
buffer->length_ = hex_len/2;
buffer->buf_ = malloc(buffer->length_);
if(!buffer->buf_) {