* [Qemu-devel] [PULL 0/1] hostmem-file: plug a small leak
@ 2016-04-15 16:33 Markus Armbruster
2016-04-15 16:33 ` [Qemu-devel] [PULL 1/1] " Markus Armbruster
2016-04-15 17:26 ` [Qemu-devel] [PULL 0/1] " Peter Maydell
0 siblings, 2 replies; 3+ messages in thread
From: Markus Armbruster @ 2016-04-15 16:33 UTC (permalink / raw)
To: qemu-devel
The following changes since commit 538a467329818ea831f602491ac62d7d7999102a:
Merge remote-tracking branch 'remotes/mcayland/tags/qemu-sparc-signed' into staging (2016-04-15 10:49:04 +0100)
are available in the git repository at:
git://repo.or.cz/qemu/armbru.git tags/pull-backends-2016-04-15
for you to fetch changes up to bc78a01319b689f9214d589b0ec48a9116b440ec:
hostmem-file: plug a small leak (2016-04-15 17:56:06 +0200)
----------------------------------------------------------------
hostmem-file: plug a small leak
----------------------------------------------------------------
Marc-André Lureau (1):
hostmem-file: plug a small leak
backends/hostmem-file.c | 8 ++++++++
1 file changed, 8 insertions(+)
Marc-André Lureau (1):
hostmem-file: plug a small leak
backends/hostmem-file.c | 8 ++++++++
1 file changed, 8 insertions(+)
--
2.5.5
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] [PULL 1/1] hostmem-file: plug a small leak
2016-04-15 16:33 [Qemu-devel] [PULL 0/1] hostmem-file: plug a small leak Markus Armbruster
@ 2016-04-15 16:33 ` Markus Armbruster
2016-04-15 17:26 ` [Qemu-devel] [PULL 0/1] " Peter Maydell
1 sibling, 0 replies; 3+ messages in thread
From: Markus Armbruster @ 2016-04-15 16:33 UTC (permalink / raw)
To: qemu-devel; +Cc: Marc-André Lureau
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <1460566660-19241-1-git-send-email-marcandre.lureau@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
backends/hostmem-file.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/backends/hostmem-file.c b/backends/hostmem-file.c
index b17a1f1..5c4b808 100644
--- a/backends/hostmem-file.c
+++ b/backends/hostmem-file.c
@@ -121,11 +121,19 @@ file_backend_instance_init(Object *o)
set_mem_path, NULL);
}
+static void file_backend_instance_finalize(Object *o)
+{
+ HostMemoryBackendFile *fb = MEMORY_BACKEND_FILE(o);
+
+ g_free(fb->mem_path);
+}
+
static const TypeInfo file_backend_info = {
.name = TYPE_MEMORY_BACKEND_FILE,
.parent = TYPE_MEMORY_BACKEND,
.class_init = file_backend_class_init,
.instance_init = file_backend_instance_init,
+ .instance_finalize = file_backend_instance_finalize,
.instance_size = sizeof(HostMemoryBackendFile),
};
--
2.5.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PULL 0/1] hostmem-file: plug a small leak
2016-04-15 16:33 [Qemu-devel] [PULL 0/1] hostmem-file: plug a small leak Markus Armbruster
2016-04-15 16:33 ` [Qemu-devel] [PULL 1/1] " Markus Armbruster
@ 2016-04-15 17:26 ` Peter Maydell
1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2016-04-15 17:26 UTC (permalink / raw)
To: Markus Armbruster; +Cc: QEMU Developers
On 15 April 2016 at 17:33, Markus Armbruster <armbru@redhat.com> wrote:
> The following changes since commit 538a467329818ea831f602491ac62d7d7999102a:
>
> Merge remote-tracking branch 'remotes/mcayland/tags/qemu-sparc-signed' into staging (2016-04-15 10:49:04 +0100)
>
> are available in the git repository at:
>
> git://repo.or.cz/qemu/armbru.git tags/pull-backends-2016-04-15
>
> for you to fetch changes up to bc78a01319b689f9214d589b0ec48a9116b440ec:
>
> hostmem-file: plug a small leak (2016-04-15 17:56:06 +0200)
>
> ----------------------------------------------------------------
> hostmem-file: plug a small leak
>
Applied, thanks.
-- PMM
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-04-15 17:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-15 16:33 [Qemu-devel] [PULL 0/1] hostmem-file: plug a small leak Markus Armbruster
2016-04-15 16:33 ` [Qemu-devel] [PULL 1/1] " Markus Armbruster
2016-04-15 17:26 ` [Qemu-devel] [PULL 0/1] " Peter Maydell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).