[Spice-devel] [PATCH] fix tmp directory removal

Hans de Goede hdegoede at redhat.com
Tue Apr 9 04:13:17 PDT 2013


Looks good, ack.

On 04/09/2013 12:16 PM, Peter Hatina wrote:
> Hi,
>
> this should fix https://bugzilla.redhat.com/show_bug.cgi?id=882339
>
> Are we ok with this short diff?
>
> ---
>   SpiceXPI/src/plugin/plugin.cpp | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/SpiceXPI/src/plugin/plugin.cpp b/SpiceXPI/src/plugin/plugin.cpp
> index 4a88e45..d5ca720 100644
> --- a/SpiceXPI/src/plugin/plugin.cpp
> +++ b/SpiceXPI/src/plugin/plugin.cpp
> @@ -996,7 +996,9 @@ void *nsPluginInstance::ControllerWaitHelper(void *opaque)
>       fake_this->m_external_controller.Disconnect();
>       fake_this->m_pid_controller = -1;
>       unlink(fake_this->m_trust_store_file.c_str());
> +    unlink(fake_this->m_foreign_file.c_str());
>       fake_this->m_trust_store_file.clear();
> +    fake_this->m_foreign_file.clear();
>       return NULL;
>   }
>
>


More information about the Spice-devel mailing list