diff options
-rw-r--r-- | type_decoder.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/type_decoder.c b/type_decoder.c index 2bb3616..9e0a27c 100644 --- a/type_decoder.c +++ b/type_decoder.c @@ -125,8 +125,7 @@ static void release_binary(struct srd_proto_data_binary *pdb) { if (!pdb) return; - if (pdb->data) - g_free((void *)pdb->data); + g_free((void *)pdb->data); g_free(pdb); } |