projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3ce84f
)
Revert "rng-egd: remove redundant free"
author
Eduardo Habkost
<ehabkost@redhat.com>
Thu, 4 Sep 2014 16:10:47 +0000
(19:10 +0300)
committer
Michael S. Tsirkin
<mst@redhat.com>
Thu, 18 Sep 2014 18:51:24 +0000
(21:51 +0300)
This reverts commit
5e490b6a504912225dff0e520e1c6af68295d238
.
Cc: qemu-stable@nongnu.org
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
backends/rng-egd.c
patch
|
blob
|
history
diff --git
a/backends/rng-egd.c
b/backends/rng-egd.c
index
25bb3b4
..
2962795
100644
(file)
--- a/
backends/rng-egd.c
+++ b/
backends/rng-egd.c
@@
-169,6
+169,7
@@
static void rng_egd_set_chardev(Object *obj, const char *value, Error **errp)
if (b->opened) {
error_set(errp, QERR_PERMISSION_DENIED);
} else {
+ g_free(s->chr_name);
s->chr_name = g_strdup(value);
}
}