Strdup path when setting the callback data.

2000-09-01  Christopher James Lahey  <clahey@helixcode.com>

	* e-local-storage.c: Strdup path when setting the callback data.

	* evolution-storage.c: Removed an unused variable.

svn path=/trunk/; revision=5168
This commit is contained in:
Christopher James Lahey
2000-09-01 21:54:50 +00:00
committed by Chris Lahey
parent 3463239ee1
commit fcad5f23f2
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2000-09-01 Christopher James Lahey <clahey@helixcode.com>
* e-local-storage.c: Strdup path when setting the callback data.
* evolution-storage.c: Removed an unused variable.
2000-08-31 Chris Toshok <toshok@helixcode.com>
* e-shell-view.c (init): initialize delayed_selection = NULL;

View File

@ -465,7 +465,7 @@ impl_async_create_folder (EStorage *storage,
callback_data = g_new (AsyncCreateFolderCallbackData, 1);
callback_data->storage = storage;
callback_data->path = path;
callback_data->path = g_strdup (path);
callback_data->display_name = g_strdup (folder_name);
callback_data->type = g_strdup (type);
callback_data->description = g_strdup (description);

View File

@ -297,7 +297,6 @@ evolution_storage_new_folder (EvolutionStorage *evolution_storage,
Evolution_Folder corba_folder;
CORBA_Environment ev;
const char *path_basename;
char *parent_path;
g_return_val_if_fail (evolution_storage != NULL,
EVOLUTION_STORAGE_ERROR_INVALIDPARAMETER);