diff --git a/servers/slurpd/st.c b/servers/slurpd/st.c index 610b295853..e66a28ba1c 100644 --- a/servers/slurpd/st.c +++ b/servers/slurpd/st.c @@ -56,8 +56,7 @@ St_add( pthread_mutex_unlock( &(st->st_mutex )); return NULL; } - st->st_data[ ind ] = ( Stel * ) ch_malloc( st->st_data, - sizeof( Stel )); + st->st_data[ ind ] = ( Stel * ) ch_malloc( sizeof( Stel ) ); if ( st->st_data[ ind ] == NULL ) { pthread_mutex_unlock( &(st->st_mutex )); return NULL;