misccoms.c, call function to delete some structures in sharedspice.c upon 'quit'
This commit is contained in:
parent
f4c93195a3
commit
16da4a20fd
|
|
@ -36,6 +36,11 @@ extern void spice_destroy_devices(void); /* FIXME need a better place */
|
||||||
static void byemesg(void);
|
static void byemesg(void);
|
||||||
static int confirm_quit(void);
|
static int confirm_quit(void);
|
||||||
|
|
||||||
|
#ifdef SHARED_MODULE
|
||||||
|
extern void sh_delete_myvec(void);
|
||||||
|
extern void sh_delvecs(void);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
com_quit(wordlist *wl)
|
com_quit(wordlist *wl)
|
||||||
|
|
@ -109,6 +114,8 @@ com_quit(wordlist *wl)
|
||||||
#ifdef SHARED_MODULE
|
#ifdef SHARED_MODULE
|
||||||
destroy_const_plot();
|
destroy_const_plot();
|
||||||
spice_destroy_devices();
|
spice_destroy_devices();
|
||||||
|
sh_delete_myvec();
|
||||||
|
sh_delvecs();
|
||||||
#endif
|
#endif
|
||||||
mc_free();
|
mc_free();
|
||||||
#ifdef SHARED_MODULE
|
#ifdef SHARED_MODULE
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue